putting C programs in the background

Larry Cipriani lvc at cbscc.UUCP
Tue Jan 15 11:40:35 AEST 1985


To put a C program in the background (not from the shell)
try the following:

	if (fork() != 0) exit(0);

Simple yes.  Obvious, well maybe.  And don't forget to
setup those signal handlers and file descriptor just right.

			Larry Cipriani
			cbscc!cbsch!lvc



More information about the Comp.lang.c mailing list