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 240240the file} (regular, device, pipe, or socket) and whether the file is in a
241241blocking or non-blocking mode (flag \texttt {O\_ NONBLOCK } on file opening, see
242242page \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
244244those most important are listed in the next few paragraphs. For the full
245245disclosure, 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
302302duplicates), the file data is released.
303303\item Even \texttt {close } may fail. For example, some filesystems may write the
304304data 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
306306point in retrying because the descriptor might have been allocated for something
307307else in the meantime.
308308\item Usually, esp. on local file systems, \texttt {close } returns right away,
You can’t perform that action at this time.
0 commit comments