Skip to content

Commit 0f9cc05

Browse files
committed
Add MSG_CMSG_CLOEXEC to MsgFlags on Linux
Fixes #421.
1 parent 8aef24a commit 0f9cc05

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)