Regular pipe vs. Named Pipe
Geoff Clare
gwc at root.co.uk
Fri Jun 21 22:14:25 AEST 1991
brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>Now
>that several vendors offer System V-based POSIX systems, you can't even
>write named pipe code that works on all System V machines.
Yes you can. It's possible to write named pipe code that works on all
systems that have named pipes. You just have to be careful to restrict
yourself to areas of common behaviour, or allow for the differences in
behaviour. For example, the sequence of system calls executed by the
following shell command will work on all systems which support named
pipes:
echo foo > FIFO & echo bar > FIFO & cat FIFO
--
Geoff Clare <gwc at root.co.uk> (Dumb American mailers: ...!uunet!root.co.uk!gwc)
UniSoft Limited, London, England. Tel: +44 71 729 3773 Fax: +44 71 729 3273
More information about the Comp.unix.internals
mailing list