Trait open_coroutine_core::syscall::LinuxSyscall
source · pub trait LinuxSyscall: UnixSyscall {
// Required methods
extern "C" fn epoll_ctl(
&self,
fn_ptr: Option<&extern "C" fn(_: c_int, _: c_int, _: c_int, _: *mut epoll_event) -> c_int>,
epfd: c_int,
op: c_int,
fd: c_int,
event: *mut epoll_event
) -> c_int;
extern "C" fn accept4(
&self,
fn_ptr: Option<&extern "C" fn(_: c_int, _: *mut sockaddr, _: *mut socklen_t, _: c_int) -> c_int>,
fd: c_int,
addr: *mut sockaddr,
len: *mut socklen_t,
flg: c_int
) -> c_int;
}