Files
netio1/netio.v
T
2026-04-01 00:53:36 +03:00

26 lines
487 B
V

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