Skip to content

Commit 9ff330f

Browse files
committed
fix wording
1 parent f054fe4 commit 9ff330f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

file-api.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -456,11 +456,11 @@
456456
(\texttt{limits.h}) is guaranteed as atomic, i.e. data will not be intermingled
457457
with data written by other writers. For example, on Linux kernel 4.x it is 4096
458458
bytes, 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

0 commit comments

Comments
 (0)