Skip to content

Commit

Permalink
Auto merge of #1607 - jclulow:futimens, r=gnzlbg
Browse files Browse the repository at this point in the history
expose futimens() for illumos systems

illumos has an implementation of `futimens()` which we should expose.  I'm working on a broader set of [fixes for illumos](master...jclulow:illumos_fixes) in general, but that's going to take a lot more work to be ready so the test suite doesn't currently seem to function.
  • Loading branch information
bors committed Nov 27, 2019
2 parents 581ba35 + ca3eb03 commit 077dfb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -2157,6 +2157,10 @@ extern "C" {
path: *const ::c_char,
times: *const ::timeval,
) -> ::c_int;
pub fn futimens(
dirfd: ::c_int,
times: *const ::timespec,
) -> ::c_int;
pub fn utimensat(
dirfd: ::c_int,
path: *const ::c_char,
Expand Down

0 comments on commit 077dfb2

Please sign in to comment.