diff options
Diffstat (limited to 'Doc/libfcntl.tex')
-rw-r--r-- | Doc/libfcntl.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/libfcntl.tex b/Doc/libfcntl.tex index 3a51ce1..b76a28c 100644 --- a/Doc/libfcntl.tex +++ b/Doc/libfcntl.tex @@ -65,7 +65,7 @@ rv = fcntl(file.fileno(), FCNTL.O_NDELAY, 1) lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0) rv = fcntl(file.fileno(), FCNTL.F_SETLKW, lockdata) \end{verbatim}\ecode - +% Note that in the first example the return value variable \code{rv} will hold an integer value; in the second example it will hold a string value. The structure lay-out for the \var{lockadata} variable is |