Skip to content

Commit

Permalink
Add aio_readv and aio_writev
Browse files Browse the repository at this point in the history
They are new in FreeBSD 13.
  • Loading branch information
asomers committed Jan 29, 2021
1 parent e3482c1 commit c070417
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
Expand Up @@ -209,6 +209,8 @@ pub const ELAST: ::c_int = 97;
pub const GRND_INSECURE: ::c_uint = 0x4;

extern "C" {
pub fn aio_readv(aiocbp: *mut ::aiocb) -> ::c_int;
pub fn aio_writev(aiocbp: *mut ::aiocb) -> ::c_int;
pub fn setgrent();
pub fn mprotect(
addr: *mut ::c_void,
Expand Down

0 comments on commit c070417

Please sign in to comment.