|
462 | 462 | be to use the \texttt{select} call, see page \pageref{SELECT}. |
463 | 463 | \item Writing data of length \texttt{PIPE\_BUF} bytes or less |
464 | 464 | (\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. |
467 | 467 | It is obvious from the above that if less or equal than \texttt{PIPE\_BUF} |
468 | 468 | bytes is written, the data is always written whole or the operation fails, |
469 | 469 | and if \texttt{O\_NONBLOCK} is set and the whole data buffer cannot be written |
|
0 commit comments