write bug (or feature?)

Ronald Wahl (Ronald.Wahl@Informatik.TU-Chemnitz.DE)
Wed, 13 Sep 1995 22:23:01 +0200 (MET DST)


Hi,

I dont no if this is a bug or a feature (using kernel 1.2.13):

If the first write to a pipe is bigger than PIPE_BUF it would not block
if nobody read on the other end. The next call to write blocks.

If this is a feature, what is it good for?

Thanks,
Ronald.

+-------------------------------------------------------------------+
| Ronald Wahl rwa@informatik.tu-chemnitz.de |
| >> PGP key available by finger << http://www.tu-chemnitz.de/~row |
+-------------------------------------------------------------------+
| PGP fingerprint: 9D 4A 66 7C A9 9F 6A 5F 90 45 D5 0C DF E5 CB 71 |
+-------------------------------------------------------------------+