reliable reads from pipes

Boyd Roberts boyd at necisa.ho.necisa.oz
Mon Aug 13 15:30:19 AEST 1990


In article <11155 at alice.UUCP> andrew at alice.UUCP (Andrew Hume) writes:
>
>	lest anyone start relying on reads returning whatever is in the pipe,
>9th edition and later unices preserved the size of the writes which can
>now also exceed the size of the pipe buffer (i think).

Not to mention the 1 byte write nasty that will take out all your
stream message buffers.  The stream pipe fills when the write
side high water mark is hit; which is tunable.

Those M_DELIM's are neat...


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

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



More information about the Comp.unix.questions mailing list