Hi,

On Sun, Sep 18, 2011 at 09:30:09PM +0300, Roman Yeryomin wrote:
> I think how it can be that you can't read 6 bytes from stdin in one
> attempt but can do it from file?

pipe semantics are different from file semantics.

A pipe read will return as soon as "everything that has been written so
far" has been read, and not wait for the reader buffer to fill up.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpUxBbCtfzzb.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to