pub(crate) unsafe fn getsockopt<T>( fd: c_int, opt: c_int, val: c_int, ) -> Result<T>
Caller must ensure T is the correct type for opt and val.
T
opt
val