open_coroutine_core::syscall

Function socket

Source
pub extern "C" fn socket(
    fn_ptr: Option<&extern "C" fn(_: c_int, _: c_int, _: c_int) -> c_int>,
    domain: c_int,
    ty: c_int,
    protocol: c_int,
) -> c_int