Skip to content

Commit 2c839a3

Browse files
committed
Adding OpenBSD as per request, verified here: https://github.com/openbsd/src/blob/master/sys/sys/stat.h#L188
1 parent 2b158ce commit 2c839a3

File tree

1 file changed

+3
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+3
-0
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,9 @@ pub const ELAST : ::c_int = 95;
748748

749749
pub const F_DUPFD_CLOEXEC : ::c_int = 10;
750750

751+
pub const UTIME_OMIT: c_long = -2;
752+
pub const UTIME_NOW: c_long = -1;
753+
751754
pub const AT_FDCWD: ::c_int = -100;
752755
pub const AT_EACCESS: ::c_int = 0x01;
753756
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x02;

0 commit comments

Comments
 (0)