diff options
author | bors <bors@rust-lang.org> | 2019-11-28 10:47:42 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2019-11-28 10:47:42 +0000 |
commit | 88f65876317f6e899cdea7880a4514774632aee4 (patch) | |
tree | d31d32aa8cb49c29b0f91d2f00b7c494a0f391e2 | |
parent | 5130285ccd8e5bd87912e347d47e3185d064aa76 (diff) | |
parent | 223e7d340a21cd104d157438a630d0b9ccafa194 (diff) | |
download | rust-libc-88f65876317f6e899cdea7880a4514774632aee4.tar.gz |
Auto merge of #1607 - jclulow:futimens, r=gnzlbg
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](https://github.com/rust-lang/libc/compare/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.
-rw-r--r-- | src/unix/solarish/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index c8cca192d9..9f0372b20f 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -2157,6 +2157,7 @@ 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, |