Skip to content

Commit 81f32d5

Browse files
committed
Add adjtime support.
1 parent 45b7f08 commit 81f32d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,8 @@ extern "C" {
13891389
pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t;
13901390

13911391
pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int;
1392+
1393+
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
13921394
}
13931395

13941396
cfg_if! {

0 commit comments

Comments
 (0)