Annotation of researchv10no/netfs/libnetb/bsdwhocalled.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * 4BSD sockets (only) who called me
        !             3:  */
        !             4: 
        !             5: char *_rfbsdpeer();
        !             6: 
        !             7: char *
        !             8: _rfwhocalled(cfd)
        !             9: int cfd;
        !            10: {
        !            11:        static char buf[100];   /* arbitrary */
        !            12:        char *p;
        !            13: 
        !            14:        if ((p = _rfbsdpeer(cfd)) != 0)
        !            15:                strcpy(buf, p);
        !            16:        return (buf);
        !            17: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.