hermit::syscalls::socket

Function sys_getpeername

Source
#[no_mangle]
pub unsafe extern "C" fn sys_getpeername(
    fd: i32,
    addr: *mut sockaddr,
    addrlen: *mut socklen_t,
) -> i32