go/src/net/cgo_unix_cgo.go

const _C_AF_INET

const _C_AF_INET6

const _C_AF_UNSPEC

const _C_EAI_ADDRFAMILY

const _C_EAI_AGAIN

const _C_EAI_NODATA

const _C_EAI_NONAME

const _C_EAI_SERVICE

const _C_EAI_OVERFLOW

const _C_EAI_SYSTEM

const _C_IPPROTO_TCP

const _C_IPPROTO_UDP

const _C_SOCK_DGRAM

const _C_SOCK_STREAM

type _C_char

type _C_uchar

type _C_int

type _C_uint

type _C_socklen_t

type _C_struct_addrinfo

type _C_struct_sockaddr

func _C_malloc(n uintptr) unsafe.Pointer {}

func _C_free(p unsafe.Pointer)           {}

func _C_ai_addr(ai *_C_struct_addrinfo) **_C_struct_sockaddr {}

func _C_ai_family(ai *_C_struct_addrinfo) *_C_int            {}

func _C_ai_flags(ai *_C_struct_addrinfo) *_C_int             {}

func _C_ai_next(ai *_C_struct_addrinfo) **_C_struct_addrinfo {}

func _C_ai_protocol(ai *_C_struct_addrinfo) *_C_int          {}

func _C_ai_socktype(ai *_C_struct_addrinfo) *_C_int          {}

func _C_freeaddrinfo(ai *_C_struct_addrinfo) {}

func _C_gai_strerror(eai _C_int) string {}

func _C_getaddrinfo(hostname, servname *_C_char, hints *_C_struct_addrinfo, res **_C_struct_addrinfo) (int, error) {}