Skip to content

Commit 603e5a7

Browse files
committed
Auto merge of rust-lang#562 - Mic92:utime, r=alexcrichton
add UTIME_OMIT, UTIME_NOW on linux
2 parents 1033ce7 + 22e79d6 commit 603e5a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,9 @@ pub const P_ALL: idtype_t = 0;
750750
pub const P_PID: idtype_t = 1;
751751
pub const P_PGID: idtype_t = 2;
752752

753+
pub const UTIME_OMIT: c_long = 1073741822;
754+
pub const UTIME_NOW: c_long = 1073741823;
755+
753756
f! {
754757
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
755758
let fd = fd as usize;

0 commit comments

Comments
 (0)