Skip to content

Commit

Permalink
Add LIO_READV and LIO_WRITEV on FreeBSD
Browse files Browse the repository at this point in the history
They are used along with lio_listio for non-POSIX vectored operations.
  • Loading branch information
asomers committed May 6, 2022
1 parent 78d6835 commit dbbd1aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Expand Up @@ -1885,6 +1885,11 @@ impl ::Clone for dot3Vendors {
}
}

// aio.h
pub const LIO_VECTORED: ::c_int = 4;
pub const LIO_WRITEV: ::c_int = 5;
pub const LIO_READV: ::c_int = 6;

// sys/devicestat.h
pub const DEVSTAT_N_TRANS_FLAGS: ::c_int = 4;
pub const DEVSTAT_NAME_LEN: ::c_int = 16;
Expand Down

0 comments on commit dbbd1aa

Please sign in to comment.