Skip to content

Commit 91795b0

Browse files
committed
fix wording
1 parent 2adceb3 commit 91795b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

file-api.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
the file} (regular, device, pipe, or socket) and whether the file is in a
241241
blocking or non-blocking mode (flag \texttt{O\_NONBLOCK} on file opening, see
242242
page \pageref{O_NONBLOCK}).
243-
\item For both calls there are quite a few situations that may happen, and
243+
\item For both calls there are quite a few situations that may happen, and
244244
those most important are listed in the next few paragraphs. For the full
245245
disclosure, consult the standard or a manual page on your system.
246246
\item \texttt{read} returns a non-zero number of bytes less than \emph{nbyte} if
@@ -302,7 +302,7 @@
302302
duplicates), the file data is released.
303303
\item Even \texttt{close} may fail. For example, some filesystems may write the
304304
data on file closure (NFS), and if that write fails, \texttt{close} fails.
305-
In such case the error code should be used only for diagnostics. There is not
305+
In such case the error code should be used only for diagnostics. There is no
306306
point in retrying because the descriptor might have been allocated for something
307307
else in the meantime.
308308
\item Usually, esp. on local file systems, \texttt{close} returns right away,

0 commit comments

Comments
 (0)