POSIX-2024: support for MSG_CMSG_CLOEXEC and MSG_CMSG_CLOFORK
Change-Id: I55551860fb7dac5d0c11a6d4201502fff9ab2d13 Reviewed-on: https://review.haiku-os.org/c/haiku/+/9332 Reviewed-by: waddlesplash <[email protected]> Reviewed-by: Jérôme Duval <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
904fd2abf0
commit
396ebbc16f
@@ -126,6 +126,8 @@ struct msghdr {
|
||||
#define MSG_MCAST 0x0200 /* this message rec'd as multicast */
|
||||
#define MSG_EOF 0x0400 /* data completes connection */
|
||||
#define MSG_NOSIGNAL 0x0800 /* don't raise SIGPIPE if socket is closed */
|
||||
#define MSG_CMSG_CLOEXEC 0x1000 /* set FD_CLOEXEC flag on FDs created via SCM_RIGHTS */
|
||||
#define MSG_CMSG_CLOFORK 0x2000 /* set FD_CLOFORK flag on FDs created via SCM_RIGHTS */
|
||||
|
||||
struct cmsghdr {
|
||||
socklen_t cmsg_len;
|
||||
|
||||
Reference in New Issue
Block a user