File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1040,6 +1040,7 @@ f! {
10401040 }
10411041}
10421042
1043+ #[ link( name = "rt" ) ]
10431044extern {
10441045 pub fn aio_read ( aiocbp : * mut aiocb ) -> :: c_int ;
10451046 pub fn aio_write ( aiocbp : * mut aiocb ) -> :: c_int ;
@@ -1052,7 +1053,9 @@ extern {
10521053 pub fn aio_cancel ( fd : :: c_int , aiocbp : * mut aiocb ) -> :: c_int ;
10531054 pub fn lio_listio ( mode : :: c_int , aiocb_list : * const * mut aiocb ,
10541055 nitems : :: c_int , sevp : * mut sigevent ) -> :: c_int ;
1056+ }
10551057
1058+ extern {
10561059 pub fn chflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
10571060 pub fn fchflags ( fd : :: c_int , flags : :: c_ulong ) -> :: c_int ;
10581061 pub fn lchflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments