diff --git a/man2/recv.2 b/man2/recv.2 index c1c7ff3ee..bf387d1fa 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -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