A question on the implementation of /dev/stdin, etc.

Boyd Roberts boyd at necisa.ho.necisa.oz
Wed May 9 09:36:48 AEST 1990


In article <1706 at necisa.ho.necisa.oz> (Boyd Roberts) writes:
>
>	closef(u.u_ofile[u.u_rval1]);

When I should have written:

	closef(u.u_ofile[u.u_rval1]);
	u.u_ofile[u.u_rval1] = NULL;		/* this completes the close */


Boyd Roberts			boyd at necisa.ho.necisa.oz.au

``When the going gets wierd, the weird turn pro...''



More information about the Comp.unix.wizards mailing list