File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 923923\begin {slide }
924924\sltitle {Symbolic links}
925925\texttt {int \funnm {symlink}(const char *\emph {path1 },
926- const char *\emph {path2 }); }
926+ const char *\emph {path2 }); }
927927\begin {itemize }
928928\item make a new symbolic name from \emph {path2 } $ \rightarrow $ \emph {path1 }.
929929\item \emph {path1 } may span filesystems, and may not exist at all
930930\end {itemize }
931931ifdef([[[NOSPELLCHECK]]], [[[
932932\texttt {int \funnm {readlink}(const char *\emph {path }, char *\emph {buf },
933- size\_ t \emph {bufsz }); }
933+ size\_ t \emph {bufsz }); }
934934]]])
935935\begin {itemize }
936936\item put maximum of \emph {\texttt {bufsz } } bytes from the symlink target path
950950the symlink's target.
951951\item \emph {\texttt {bufsize } } is typically set as 1 byte less than the buffer
952952size to accommodate the terminating \texttt {NULL } character.
953+ \item See \example {readlink/readlink.c}
953954\end {itemize }
954955
955956% %%%%
963964\texttt {int \funnm {mkdir}(const char *\emph {path }, mode\_ t \emph {mode }); }
964965\begin {itemize }
965966\item attempts to create an empty directory \emph {path } with entries
966- '\texttt{.}' and '\texttt{..}'
967+ '\texttt{.}' and '\texttt{..}'
967968\end {itemize }
968969\texttt {int \funnm {rmdir}(const char *\emph {path }); }
969970\begin {itemize }
You can’t perform that action at this time.
0 commit comments