how to use pipes (was: Re: system() question)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Wed Mar 6 14:22:37 AEST 1991


In article <1991Mar3.214844.15444 at csusac.csus.edu> emmonsl at athena.ecs.csus.edu (L. Scott Emmons) writes:
> using fork/exec/pipe: 0.0u 0.1s 0:00 35% 5+6k 0+0io 0pf+0w
> using system:         0.2u 0.4s 0:00 70% 32+18k 0+4io 0pf+0w

This is, of course, because you aren't waiting for the child to finish.

---Dan



More information about the Comp.unix.programmer mailing list