File:  [Research Unix] / researchv10no / cmd / upas / send / process.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/* a pipe between parent and child */
typedef struct {
	FILE *fp;	/* parent process end */
	int fd;		/* child process end */
} stream;

/* a child process */
typedef struct process{
	stream *std[3];	/* standard fd's */
	int pid;	/* process identifier */
	int status;	/* exit status */
} process;

/* start/stop for a process */
extern process *proc_start();
extern int proc_wait();
extern int proc_free();
extern void stream_free();
extern stream *instream();
extern stream *outstream();

unix.superglobalmegacorp.com

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