More on how to do a pipe (was re: system() problem)

L. Scott Emmons emmonsl at athena.ecs.csus.edu
Fri Mar 8 03:50:46 AEST 1991


In article <2506 at travis.csd.harris.com> brad at SSD.CSD.HARRIS.COM (Brad Appleton) writes:
>I hate to be critical but I didnt care for the way the status codes from
>dup2 and pipe were ignored.

Actually, I left all that stuff out for the sake of making the example as
short as possible, not because it should be ignored in actual implementation.
Thanks for your response, though, and yes, of course all of the return codes
should be used for an actual implementation...

			L. Scott Emmons
			---------------
	emmons at csus.csus.edu  <or>  ...[ucbvax]!ucdavis!csus!emmons
		Packet: kc6nfp at kg6xx.#nocal.ca.usa.na



More information about the Comp.unix.programmer mailing list