Skip to content

Commit 3419efa

Browse files
committed
Auto merge of #422 - sdroege:msg-cmsg-cloexec, r=posborne
Add MSG_CMSG_CLOEXEC to MsgFlags on Linux Fixes #421.
2 parents 8aef24a + 0f9cc05 commit 3419efa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/socket/consts.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ mod os {
9898
const MSG_DONTWAIT = 0x0040,
9999
const MSG_EOR = 0x0080,
100100
const MSG_ERRQUEUE = 0x2000,
101+
const MSG_CMSG_CLOEXEC = 0x40000000,
101102
}
102103
}
103104

0 commit comments

Comments
 (0)