File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -611,11 +611,6 @@ f! {
611
611
}
612
612
}
613
613
614
- extern {
615
- pub fn chflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
616
- pub fn fchflags ( fd : :: c_int , flags : :: c_ulong ) -> :: c_int ;
617
- }
618
-
619
614
#[ link( name = "util" ) ]
620
615
extern {
621
616
pub fn mincore ( addr : * mut :: c_void , len : :: size_t ,
Original file line number Diff line number Diff line change @@ -1032,6 +1032,8 @@ extern {
1032
1032
pub fn lio_listio ( mode : :: c_int , aiocb_list : * const * mut aiocb ,
1033
1033
nitems : :: c_int , sevp : * mut sigevent ) -> :: c_int ;
1034
1034
1035
+ pub fn chflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
1036
+ pub fn fchflags ( fd : :: c_int , flags : :: c_ulong ) -> :: c_int ;
1035
1037
pub fn lchflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
1036
1038
1037
1039
pub fn extattr_delete_fd ( fd : :: c_int ,
Original file line number Diff line number Diff line change 710
710
}
711
711
712
712
extern {
713
- pub fn chflagsat ( fd : :: c_int , path : * const :: c_char , flags : :: c_ulong ,
713
+ pub fn chflags ( path : * const :: c_char , flags : :: c_uint ) -> :: c_int ;
714
+ pub fn fchflags ( fd : :: c_int , flags : :: c_uint ) -> :: c_int ;
715
+ pub fn chflagsat ( fd : :: c_int , path : * const :: c_char , flags : :: c_uint ,
714
716
atflag : :: c_int ) -> :: c_int ;
715
717
pub fn dirfd ( dirp : * mut :: DIR ) -> :: c_int ;
716
718
pub fn getnameinfo ( sa : * const :: sockaddr ,
You can’t perform that action at this time.
0 commit comments