summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Petre <lpetre@gmail.com>2019-08-17 06:41:39 +0100
committerLuke Petre <lpetre@gmail.com>2019-08-17 06:41:39 +0100
commit2c839a3342ee08bb4875373497ce5a6571ca335d (patch)
treeacd02b902eafb43ff1809868e0f30bf543e3660e
parent2b158cefc22460afe2b278fc4b196ab332cef319 (diff)
downloadrust-libc-2c839a3342ee08bb4875373497ce5a6571ca335d.tar.gz
Adding OpenBSD as per request, verified here: https://github.com/openbsd/src/blob/master/sys/sys/stat.h#L188
-rw-r--r--src/unix/bsd/netbsdlike/openbsd/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs
index 51b1bf14d7..a8c5252efe 100644
--- a/src/unix/bsd/netbsdlike/openbsd/mod.rs
+++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -748,6 +748,9 @@ pub const ELAST : ::c_int = 95;
pub const F_DUPFD_CLOEXEC : ::c_int = 10;
+pub const UTIME_OMIT: c_long = -2;
+pub const UTIME_NOW: c_long = -1;
+
pub const AT_FDCWD: ::c_int = -100;
pub const AT_EACCESS: ::c_int = 0x01;
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x02;