Skip to content

Commit b0c679f

Browse files
committed
Add futimens
1 parent 7a7676a commit b0c679f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ extern {
513513
#[cfg_attr(target_os = "netbsd", link_name = "__utimes50")]
514514
pub fn utimes(filename: *const ::c_char,
515515
times: *const ::timeval) -> ::c_int;
516+
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
516517
pub fn dlopen(filename: *const ::c_char,
517518
flag: ::c_int) -> *mut ::c_void;
518519
pub fn dlerror() -> *mut ::c_char;

0 commit comments

Comments
 (0)