Function socket2::sys::getsockopt

source ยท
pub(crate) unsafe fn getsockopt<T>(
    fd: c_int,
    opt: c_int,
    val: c_int,
) -> Result<T>
Expand description

Caller must ensure T is the correct type for opt and val.