summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-09-09 18:11:01 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-09-09 18:11:01 +0300
commit0f9cc0589c7b31d3e7dd789834d128b1e5508c53 (patch)
treedf7cf50347ac94085963965fb819a4f8df231b62 /src
parent8aef24af8956ecb5afb13b414aa22431ce55a26b (diff)
downloadnix-0f9cc0589c7b31d3e7dd789834d128b1e5508c53.zip
Add MSG_CMSG_CLOEXEC to MsgFlags on Linux
Fixes #421.
Diffstat (limited to 'src')
-rw-r--r--src/sys/socket/consts.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/socket/consts.rs b/src/sys/socket/consts.rs
index aeeea5c3..63eaf28a 100644
--- a/src/sys/socket/consts.rs
+++ b/src/sys/socket/consts.rs
@@ -98,6 +98,7 @@ mod os {
const MSG_DONTWAIT = 0x0040,
const MSG_EOR = 0x0080,
const MSG_ERRQUEUE = 0x2000,
+ const MSG_CMSG_CLOEXEC = 0x40000000,
}
}