aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/notbsd/linux/s390x.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
commitd8e4f651a453a37345153a3dfc8593f2419b08af (patch)
tree72e161dd029d23253e64b747707848d3cca58527 /libc/src/unix/notbsd/linux/s390x.rs
parente7ecdef19097428d81a8de65713cb7f36c780b57 (diff)
downloadnitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.gz
nitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.bz2
Update libc crate to 0.2.46
This change updates the libc crate to version 0.2.46. Import subrepo libc/:libc at a9e3cc6c1b529eaffef5b82934d0c47203edebe5
Diffstat (limited to 'libc/src/unix/notbsd/linux/s390x.rs')
-rw-r--r--libc/src/unix/notbsd/linux/s390x.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/src/unix/notbsd/linux/s390x.rs b/libc/src/unix/notbsd/linux/s390x.rs
index 9196f88..9e3814f 100644
--- a/libc/src/unix/notbsd/linux/s390x.rs
+++ b/libc/src/unix/notbsd/linux/s390x.rs
@@ -791,6 +791,9 @@ pub const MAP_HUGETLB: ::c_int = 0x040000;
pub const EFD_NONBLOCK: ::c_int = 0x800;
+pub const F_RDLCK: ::c_int = 0;
+pub const F_WRLCK: ::c_int = 1;
+pub const F_UNLCK: ::c_int = 2;
pub const F_GETLK: ::c_int = 5;
pub const F_GETOWN: ::c_int = 9;
pub const F_SETOWN: ::c_int = 8;