Skip to content

Commit c070417

Browse files
committed
Add aio_readv and aio_writev
They are new in FreeBSD 13.
1 parent e3482c1 commit c070417

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd/freebsd13

1 file changed

+2
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ pub const ELAST: ::c_int = 97;
209209
pub const GRND_INSECURE: ::c_uint = 0x4;
210210

211211
extern "C" {
212+
pub fn aio_readv(aiocbp: *mut ::aiocb) -> ::c_int;
213+
pub fn aio_writev(aiocbp: *mut ::aiocb) -> ::c_int;
212214
pub fn setgrent();
213215
pub fn mprotect(
214216
addr: *mut ::c_void,

0 commit comments

Comments
 (0)