File:  [XINU] / xinu / sys / freceive.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:23 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19910600, HEAD
Xinu for 68000/68010

/* freceive.c - freceive */

#include <conf.h>
#include <kernel.h>
#include <frame.h>

#ifndef	NNETS
#define NNETS 0
#endif

/*------------------------------------------------------------------------
 *  freceive  --  receive the next frame that arrives from a net.
 *------------------------------------------------------------------------
 */
SYSCALL	freceive(netid)
	int	netid;
{
	if (netid < 0 || netid >= NNETS)
		return(SYSERR);
	return( preceive(fdata[netid].fiport) );
}

unix.superglobalmegacorp.com

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