Skip to content
Snippets Groups Projects
Commit b8a5b9b5 authored by Paul Sajna's avatar Paul Sajna
Browse files

aio.h skeleton

parent 7f29a712
No related branches found
No related tags found
No related merge requests found
pub struct aiocb {
pub aio_fildes: libc::c_int,
pub aio_lio_opcode: libc::c_int,
pub aio_reqprio: libc::c_int,
pub aio_buf: *mut libc::c_void,
pub aio_nbytes: usize,
pub aio_sigevent: sigevent,
}
pub extern "C" fn aio_read(__aiocbp: *mut aiocb) -> libc::c_int {
unimplemented!();
}
pub extern "C" fn aio_write(__aiocbp: *mut aiocb) -> libc::c_int {
unimplemented!();
}
pub extern "C" fn lio_listio(__mode: libc::c_int,
__list: *const *const aiocb,
__nent: libc::c_int, __sig: *mut sigevent)
-> libc::c_int {
unimplemented!();
}
pub extern "C" fn aio_error(__aiocbp: *const aiocb) -> libc::c_int {
unimplemented!();
}
pub extern "C" fn aio_return(__aiocbp: *mut aiocb) -> __ssize_t {
unimplemented!();
}
pub extern "C" fn aio_cancel(__fildes: libc::c_int, __aiocbp: *mut aiocb)
-> libc::c_int {
unimplemented!();
}
pub extern "C" fn aio_suspend(__list: *const *const aiocb,
__nent: libc::c_int,
__timeout: *const timespec) -> libc::c_int {
unimplemented!();
}
pub extern "C" fn aio_fsync(__operation: libc::c_int, __aiocbp: *mut aiocb)
-> libc::c_int {
unimplemented!();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment