mirror of https://github.com/mkerrisk/man-pages
dup.2: Clarify what silent closing means
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5c3611aa44
commit
8b339e35fa
|
@ -88,7 +88,10 @@ it uses the file descriptor number specified in
|
|||
.IR newfd .
|
||||
If the file descriptor
|
||||
.IR newfd
|
||||
was previously open, it is silently closed before being reused.
|
||||
was previously open, it is closed before being reused;
|
||||
the close is performed silently
|
||||
(i.e., any errors during the close are not reported by
|
||||
.BR dup2 ()).
|
||||
.PP
|
||||
The steps of closing and reusing the file descriptor
|
||||
.IR newfd
|
||||
|
|
Loading…
Reference in New Issue