pub unsafe extern "C" fn bind(
fd: c_int,
addr: *const c_void,
len: u32,
) -> c_intExpand description
Takes a *const c_void because both socket families here bind with
their own sockaddr shape, and one extern declaration has to serve
both — two declarations of the same symbol with different pointer
types do not compile.