Skip to content

Commit 0650408

Browse files
committed
Add clock_adjtime() to linux-gnu
1 parent ec58c6f commit 0650408

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+2
-0
lines changed

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ extern "C" {
12231223
pub fn ntp_adjtime(buf: *mut timex) -> ::c_int;
12241224
#[link_name = "ntp_gettimex"]
12251225
pub fn ntp_gettime(buf: *mut ntptimeval) -> ::c_int;
1226+
pub fn clock_adjtime(clk_id: ::clockid_t, buf: *mut ::timex) -> ::c_int;
1227+
12261228
pub fn copy_file_range(
12271229
fd_in: ::c_int,
12281230
off_in: *mut ::off64_t,

0 commit comments

Comments
 (0)