module netio import sync fn init() { netio_protoent_mutex = sync.new_mutex() } fn cleanup() { netio_protoent_mutex.destroy() unsafe { free(netio_protoent_mutex) } } // The socket address family type. // See [address_families(7)](https://www.man7.org/linux/man-pages/man7/address_families.7.html). pub type AddrFamily = u16 // The socket type. pub type SocketType = int // The socket level type. pub type SocketLevel = int // The socket option type. pub type SocketOption = int