recv

Function recv 

Source
pub unsafe extern "C" fn recv(
    __fd: c_int,
    __buf: *mut c_void,
    __n: usize,
    __flags: c_int,
) -> isize
Expand description

Read N bytes into BUF from socket FD. Returns the number read or -1 for errors.

This function is a cancellation point and therefore not marked with __THROW.