mirror of https://github.com/mkerrisk/man-pages
kcmp.2: KCMP_FILE: note reasons why FDs may refer to same open file description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
def3177057
commit
a579a5ab16
|
@ -75,6 +75,13 @@ as file descriptor
|
|||
.I idx2
|
||||
in the process
|
||||
.IR pid2 .
|
||||
The existence of two file descriptors that refer to the same
|
||||
open file description can occur as a result of
|
||||
.BR dup (2)
|
||||
(and similar)
|
||||
.BR fork (2),
|
||||
or passing file descriptors via a domain socket (see
|
||||
.BR unix (7)).
|
||||
.TP
|
||||
.BR KCMP_FILES
|
||||
Check whether the processes share the same set of open file descriptors.
|
||||
|
|
Loading…
Reference in New Issue