mirror of https://github.com/mkerrisk/man-pages
fcntl.2: Add "file locking" subheading under NOTES
(No actual changes to the text.) Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b939d6e4ba
commit
381eddf1bc
11
man2/fcntl.2
11
man2/fcntl.2
|
@ -1225,6 +1225,12 @@ macro to obtain these definitions.)
|
|||
.\" .PP
|
||||
.\" SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
|
||||
.SH NOTES
|
||||
The errors returned by
|
||||
.BR dup2 (2)
|
||||
are different from those returned by
|
||||
.BR F_DUPFD .
|
||||
.\"
|
||||
.SS File locking
|
||||
The original Linux
|
||||
.BR fcntl ()
|
||||
system call was not designed to handle large file offsets
|
||||
|
@ -1246,11 +1252,6 @@ However, these details can be ignored by applications using glibc, whose
|
|||
wrapper function transparently employs the more recent system call
|
||||
where it is available.
|
||||
|
||||
The errors returned by
|
||||
.BR dup2 (2)
|
||||
are different from those returned by
|
||||
.BR F_DUPFD .
|
||||
|
||||
Since kernel 2.0, there is no interaction between the types of lock
|
||||
placed by
|
||||
.BR flock (2)
|
||||
|
|
Loading…
Reference in New Issue