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) {
2352
2352
2353
2353
// Added in FreeBSD 13.
2354
2354
"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 ,
2355
2357
2356
2358
_ => false ,
2357
2359
}
Original file line number Diff line number Diff line change @@ -469,8 +469,6 @@ pub const DOMAINSET_POLICY_INTERLEAVE: ::c_int = 4;
469
469
pub const MINCORE_SUPER : :: c_int = 0x20 ;
470
470
471
471
extern "C" {
472
- pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
473
- pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
474
472
pub fn setgrent ( ) ;
475
473
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int ) -> :: c_int ;
476
474
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;
469
469
pub const MINCORE_SUPER : :: c_int = 0x60 ;
470
470
471
471
extern "C" {
472
- pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
473
- pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
474
472
pub fn setgrent ( ) ;
475
473
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int ) -> :: c_int ;
476
474
pub fn freelocale ( loc : :: locale_t ) ;
Original file line number Diff line number Diff line change @@ -3840,13 +3840,15 @@ extern "C" {
3840
3840
pub fn aio_error ( aiocbp : * const aiocb ) -> :: c_int ;
3841
3841
pub fn aio_fsync ( op : :: c_int , aiocbp : * mut aiocb ) -> :: c_int ;
3842
3842
pub fn aio_read ( aiocbp : * mut aiocb ) -> :: c_int ;
3843
+ pub fn aio_readv ( aiocbp : * mut :: aiocb ) -> :: c_int ;
3843
3844
pub fn aio_return ( aiocbp : * mut aiocb ) -> :: ssize_t ;
3844
3845
pub fn aio_suspend (
3845
3846
aiocb_list : * const * const aiocb ,
3846
3847
nitems : :: c_int ,
3847
3848
timeout : * const :: timespec ,
3848
3849
) -> :: c_int ;
3849
3850
pub fn aio_write ( aiocbp : * mut aiocb ) -> :: c_int ;
3851
+ pub fn aio_writev ( aiocbp : * mut :: aiocb ) -> :: c_int ;
3850
3852
3851
3853
pub fn devname_r (
3852
3854
dev : :: dev_t ,
You can’t perform that action at this time.
0 commit comments