We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee7f06 commit 610aed9Copy full SHA for 610aed9
file-api.tex
@@ -302,6 +302,9 @@
302
duplicates), the file data is released.
303
\item Even \texttt{close} may fail. For example, some filesystems may write the
304
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
306
+point in retrying because the descriptor might have been allocated for something
307
+else in the meantime.
308
\item If you forget to close file descriptors when you no longer need them,
309
and it is a long living process, a daemon perhaps, depending on the system
310
configuration you may hit memory starvation as the system memory will be filled
0 commit comments