Expand description
Socket address utilities.
§Safety
This file uses CStr::from_bytes_with_nul_unchecked
on a string it knows
to be NUL-terminated.
Structs§
- Socket
Addr Storage struct sockaddr_storage
- Socket
Addr Unix struct sockaddr_un
Functions§
- offsetof_
sun_ 🔒path - Return the offset of the
sun_path
field ofsockaddr_un
.