Skip to content

Commit a4a4718

Browse files
committed
point to rmdir
1 parent 5ed480c commit a4a4718

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

file-api.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,8 @@
926926
says its type \texttt{nlink\_t} is an integer value.
927927
\item The parameter \emph{path2} must not exist. So, you cannot rename using
928928
the \texttt{link} call.
929-
\item \texttt{unlink} does not work on directories.
929+
\item \texttt{unlink} does not work on directories, see \texttt{rmdir} on
930+
p\pageref{RMDIR}.
930931
\item The shell command \texttt{mv} uses \texttt{rename} to move objects within
931932
the same filesystem. To move files between filesystems, a file needs to be
932933
copied first, then \texttt{unlink}ed from the originating filesystem (the whole
@@ -991,6 +992,8 @@
991992
\pdfbookmark[1]{mkdir, rmdir, opendir, readdir, closedir}{dirfncs}
992993
]]])
993994

995+
\hlabel{RMDIR}
996+
994997
\begin{slide}
995998
\sltitle{Working with directories}
996999
\texttt{int \funnm{mkdir}(const char *\emph{path}, mode\_t \emph{mode});}

0 commit comments

Comments
 (0)