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 f25ce61 commit 513e433Copy full SHA for 513e433
file-api.tex
@@ -75,6 +75,10 @@
75
descriptors share the same system file table slot. If a file position sharing
76
is needed among multiple processes, that is achieved via the \texttt{fork}
77
call, and it is explained on page \pageref{FDSHARING}.
78
+\item To see how the file descriptor table looks like for given process,
79
+use \texttt{lsof} (Linux distributions, macOS) or \texttt{pfiles} (Solaris)
80
+programs. They will come handy for debugging file descriptor leaks or
81
+inheritance/redirection issues.
82
\end{itemize}
83
84
%%%%%
0 commit comments