Skip to content

Commit

Permalink
Auto merge of rust-lang#790 - semarie:bsd-utimens, r=alexcrichton
Browse files Browse the repository at this point in the history
add utimensat to NetBSD and OpenBSD
  • Loading branch information
bors committed Oct 5, 2017
2 parents c959b16 + e26a5d5 commit 9742273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/netbsdlike/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ extern {
iovcnt: ::c_int,
offset: ::off_t) -> ::ssize_t;
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
pub fn utimensat(dirfd: ::c_int, path: *const ::c_char,
times: *const ::timespec, flag: ::c_int) -> ::c_int;
pub fn fdatasync(fd: ::c_int) -> ::c_int;
pub fn openpty(amaster: *mut ::c_int,
aslave: *mut ::c_int,
Expand Down

0 comments on commit 9742273

Please sign in to comment.