diff options
author | Luke Petre <lpetre@gmail.com> | 2019-08-17 06:41:39 +0100 |
---|---|---|
committer | Luke Petre <lpetre@gmail.com> | 2019-08-17 06:41:39 +0100 |
commit | 2c839a3342ee08bb4875373497ce5a6571ca335d (patch) | |
tree | acd02b902eafb43ff1809868e0f30bf543e3660e /src | |
parent | 2b158cefc22460afe2b278fc4b196ab332cef319 (diff) | |
download | rust-libc-2c839a3342ee08bb4875373497ce5a6571ca335d.tar.gz |
Adding OpenBSD as per request, verified here: https://github.com/openbsd/src/blob/master/sys/sys/stat.h#L188
Diffstat (limited to 'src')
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 3 |
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; |