File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 456456(\texttt {limits.h }) is guaranteed as atomic, i.e. data will not be intermingled
457457with data written by other writers. For example, on Linux kernel 4.x it is 4096
458458bytes, on Solaris 11 it is 5120 bytes, and on FreeBSD 8.2 it is only 512 bytes.
459- It is obvious from the above that if you write less or equal than
460- \texttt { PIPE \_ BUF }, you always write the whole data or fail, and if
461- \texttt {O\_ NONBLOCK } is set and the whole data buffer cannot be written (for
462- example, a pipe can hold only a limited number of bytes), the call will fail.
463- \item A pipe has no file position, you always append data to a pipe.
459+ It is obvious from the above that if less or equal than \texttt { PIPE \_ BUF }
460+ bytes is written, the data is always written whole or the operation fails,
461+ and if \texttt {O\_ NONBLOCK } is set and the whole data buffer cannot be written
462+ (for example, a pipe can hold only a limited number of bytes), the call will fail.
463+ \item A pipe has no file position, data is always appended to a pipe.
464464\item All the information here applies to a unnamed pipes as well, see page
465465\pageref {PIPE }.
466466
You can’t perform that action at this time.
0 commit comments