File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2352,6 +2352,8 @@ fn test_freebsd(target: &str) {
23522352
23532353 // Added in FreeBSD 13.
23542354 "getlocalbase" if Some ( 13 ) > freebsd_ver => true ,
2355+ "aio_readv" if Some ( 13 ) > freebsd_ver => true ,
2356+ "aio_writev" if Some ( 13 ) > freebsd_ver => true ,
23552357
23562358 _ => false ,
23572359 }
Original file line number Diff line number Diff line change @@ -469,8 +469,6 @@ pub const DOMAINSET_POLICY_INTERLEAVE: ::c_int = 4;
469469pub const MINCORE_SUPER : :: c_int = 0x20 ;
470470
471471extern "C" {
472- pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
473- pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
474472 pub fn setgrent ( ) ;
475473 pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int ) -> :: c_int ;
476474 pub fn freelocale ( loc : :: locale_t ) ;
Original file line number Diff line number Diff line change @@ -469,8 +469,6 @@ pub const DOMAINSET_POLICY_INTERLEAVE: ::c_int = 4;
469469pub const MINCORE_SUPER : :: c_int = 0x60 ;
470470
471471extern "C" {
472- pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
473- pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
474472 pub fn setgrent ( ) ;
475473 pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int ) -> :: c_int ;
476474 pub fn freelocale ( loc : :: locale_t ) ;
Original file line number Diff line number Diff line change @@ -3840,13 +3840,15 @@ extern "C" {
38403840 pub fn aio_error ( aiocbp : * const aiocb ) -> :: c_int ;
38413841 pub fn aio_fsync ( op : :: c_int , aiocbp : * mut aiocb ) -> :: c_int ;
38423842 pub fn aio_read ( aiocbp : * mut aiocb ) -> :: c_int ;
3843+ pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
38433844 pub fn aio_return ( aiocbp : * mut aiocb ) -> :: ssize_t ;
38443845 pub fn aio_suspend (
38453846 aiocb_list : * const * const aiocb ,
38463847 nitems : :: c_int ,
38473848 timeout : * const :: timespec ,
38483849 ) -> :: c_int ;
38493850 pub fn aio_write ( aiocbp : * mut aiocb ) -> :: c_int ;
3851+ pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
38503852
38513853 pub fn devname_r (
38523854 dev : :: dev_t ,
You can’t perform that action at this time.
0 commit comments