Annotation of xinu/sys/freceive.c, revision 1.1.1.1

1.1       root        1: /* freceive.c - freceive */
                      2: 
                      3: #include <conf.h>
                      4: #include <kernel.h>
                      5: #include <frame.h>
                      6: 
                      7: #ifndef        NNETS
                      8: #define NNETS 0
                      9: #endif
                     10: 
                     11: /*------------------------------------------------------------------------
                     12:  *  freceive  --  receive the next frame that arrives from a net.
                     13:  *------------------------------------------------------------------------
                     14:  */
                     15: SYSCALL        freceive(netid)
                     16:        int     netid;
                     17: {
                     18:        if (netid < 0 || netid >= NNETS)
                     19:                return(SYSERR);
                     20:        return( preceive(fdata[netid].fiport) );
                     21: }

unix.superglobalmegacorp.com

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