Skip to content

Commit fb06358

Browse files
committed
Add settimeofday for solaris/illumos
1 parent 3a1b3a7 commit fb06358

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/solarish/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,7 @@ extern "C" {
18891889
pub fn srand(seed: ::c_uint);
18901890

18911891
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
1892+
pub fn settimeofday(tp: *const ::timeval, tz: *const ::c_void) -> ::c_int;
18921893
pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
18931894
pub fn freeifaddrs(ifa: *mut ::ifaddrs);
18941895

0 commit comments

Comments
 (0)