File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ extern {
387
387
pub fn memrchr ( cx : * const :: c_void , c : :: c_int , n : :: size_t ) -> * mut :: c_void ;
388
388
pub fn mkostemp ( template : * mut :: c_char , flags : :: c_int ) -> :: c_int ;
389
389
pub fn mkostemps ( template : * mut :: c_char , suffixlen : :: c_int , flags : :: c_int ) -> :: c_int ;
390
+ pub fn futimens ( fd : :: c_int , times : * const :: timespec ) -> :: c_int ;
390
391
}
391
392
392
393
cfg_if ! {
Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ extern {
523
523
#[ cfg_attr( target_os = "netbsd" , link_name = "__utimes50" ) ]
524
524
pub fn utimes ( filename : * const :: c_char ,
525
525
times : * const :: timeval ) -> :: c_int ;
526
+ pub fn futimes ( fd : :: c_int , times : * const :: timeval ) -> :: c_int ;
526
527
pub fn dlopen ( filename : * const :: c_char ,
527
528
flag : :: c_int ) -> * mut :: c_void ;
528
529
pub fn dlerror ( ) -> * mut :: c_char ;
Original file line number Diff line number Diff line change @@ -653,8 +653,9 @@ extern {
653
653
nr_segs : :: size_t ,
654
654
flags : :: c_uint ) -> :: ssize_t ;
655
655
656
- pub fn posix_fadvise ( fd : :: c_int , offset : :: off_t , len : :: off_t ,
656
+ pub fn posix_fadvise ( fd : :: c_int , offset : :: off_t , len : :: off_t ,
657
657
advise : :: c_int ) -> :: c_int ;
658
+ pub fn futimens ( fd : :: c_int , times : * const :: timespec ) -> :: c_int ;
658
659
}
659
660
660
661
cfg_if ! {
You can’t perform that action at this time.
0 commit comments