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 @@ -1039,6 +1039,7 @@ f! {
10391039 }
10401040}
10411041
1042+ #[ link( name = "rt" ) ]
10421043extern {
10431044 pub fn aio_read ( aiocbp : * mut aiocb ) -> :: c_int ;
10441045 pub fn aio_write ( aiocbp : * mut aiocb ) -> :: c_int ;
@@ -1051,7 +1052,9 @@ extern {
10511052 pub fn aio_cancel ( fd : :: c_int , aiocbp : * mut aiocb ) -> :: c_int ;
10521053 pub fn lio_listio ( mode : :: c_int , aiocb_list : * const * mut aiocb ,
10531054 nitems : :: c_int , sevp : * mut sigevent ) -> :: c_int ;
1055+ }
10541056
1057+ extern {
10551058 pub fn chflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
10561059 pub fn fchflags ( fd : :: c_int , flags : :: c_ulong ) -> :: c_int ;
10571060 pub fn lchflags ( path : * const :: c_char , flags : :: c_ulong ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments