File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 462462be to use the \texttt {select } call, see page \pageref {SELECT }.
463463\item Writing data of length \texttt {PIPE\_ BUF } bytes or less
464464(\texttt {limits.h }) is guaranteed as atomic, i.e. data will not be intermingled
465- with data written by other writers. For example, on Linux kernel 4 .x it is 4096
466- bytes, on Solaris 11 it is 5120 bytes, and on FreeBSD 8.2 it is only 512 bytes.
465+ with data written by other writers. For example, on Linux kernel 6 .x it is 4096
466+ bytes, on Solaris 11 it is 5120 bytes, and on FreeBSD 15.0 it is only 512 bytes.
467467It is obvious from the above that if less or equal than \texttt {PIPE\_ BUF }
468468bytes is written, the data is always written whole or the operation fails,
469469and if \texttt {O\_ NONBLOCK } is set and the whole data buffer cannot be written
You can’t perform that action at this time.
0 commit comments