File:  [XINU] / xinu / sys / TEST / test.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:04 2018 UTC (8 years, 3 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19870308, HEAD
Xinu for VAX

/* test.c - main */

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

/*------------------------------------------------------------------------
 *  main  --  start UDP echo server and then run Xinu pseudo-shell
 *------------------------------------------------------------------------
 */
main()
{
	int	udpecho();

	/* start rwho daemon and input processes */

	rwho();

	/* start UDP echo server */

	resume( create(udpecho, 800, 30, "UDPecho", 0) );

	while (TRUE) {
		login(CONSOLE);
		shell(CONSOLE);
	}
}

unix.superglobalmegacorp.com

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