Added description of MSG_CMSG_CLOEXEC (new in 2.6.23).

This commit is contained in:
Michael Kerrisk 2007-09-10 04:35:02 +00:00
parent fe75ec04d3
commit 499f416724
1 changed files with 11 additions and 0 deletions

View File

@ -124,6 +124,17 @@ call is formed by
.IR OR 'ing
one or more of the following values:
.TP
.BR MSG_CMSG_CLOEXEC " (" recvmsg "() only; since Linux 2.6.23)"
Set the close-on-exec flag for the file descriptor received
via a Unix domain file descriptor using the
.BR SCM_RIGHTS
operation (described in
.BR unix (7)).
This flag is useful for the same reasons as the
.B O_CLOEXEC
flag of
.BR open (2).
.TP
.B MSG_DONTWAIT
Enables non-blocking operation; if the operation would block,
.B EAGAIN