diff options
Diffstat (limited to 'Doc/lib/libfcntl.tex')
-rw-r--r-- | Doc/lib/libfcntl.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex index 1aba520..3a51ce1 100644 --- a/Doc/lib/libfcntl.tex +++ b/Doc/lib/libfcntl.tex @@ -42,6 +42,11 @@ See the Unix manual for details. (On some systems, this function is emulated using \code{fcntl}.) \end{funcdesc} +\begin{funcdesc}{lockf}{fd\, code\, \optional{len\, \optional{start\, \optional{whence}}}} +This is a wrapper around the \code{F_SETLK} and \code{F_SETLKW} +\code{fcntl()} calls. See the Unix manual for details. +\end{funcdesc} + If the library modules \code{FCNTL} or \code{IOCTL} are missing, you can find the opcodes in the C include files \code{sys/fcntl} and \code{sys/ioctl}. You can create the modules yourself with the h2py |