Skip to content

Commit

Permalink
Add settimeofday for solaris/illumos
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Oct 13, 2019
1 parent 3a1b3a7 commit fb06358
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,7 @@ extern "C" {
pub fn srand(seed: ::c_uint);

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

Expand Down

0 comments on commit fb06358

Please sign in to comment.