[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PIPE_BUF: POSIX & OBSD, *BSD and Linux
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: PIPE_BUF: POSIX & OBSD, *BSD and Linux
- From: Gustavo Rios <vieira_(_dot_)_rios_(_at_)_gmail_(_dot_)_com>
- Date: Thu, 14 Oct 2004 13:07:32 -0300
- Reply-to: Gustavo Rios <vieira_(_dot_)_rios_(_at_)_gmail_(_dot_)_com>
POSIX says there is no garantee for a process writing more than
PIPE_BUF on pipe there will be no data interleaving. Since i started
doing some research on such a topic.
Then i started to do seek man pages for the write family of functions.
For instance, Solaris man pages warn about the danger of writing
buffer longer than PIPE_BUF, i.e., in conformance with POSIX . But
with OBSD i could not figure out. So does OBSD strictly conforms with
POSIX or, in this regards, i can assure no data interleave for buffer
bigger than PIPE_BUF.
PS: Is anyone aware about FreeBSD, NetBSD and Linux?
Visit your host, monkey.org