libgo/go/net/cgo_hurd.go
raw| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | // This file is derived from cgo_bsd.go |
| 5 | |
| 6 | // +build cgo,!netgo |
| 7 | // +build hurd |
| 8 | |
| 9 | package net |
| 10 | |
| 11 | /* |
| 12 | #include <netdb.h> |
| 13 | */ |
| 14 | |
| 15 | import "syscall" |
| 16 | |
| 17 | const cgoAddrInfoFlags = syscall.AI_CANONNAME | syscall.AI_V4MAPPED | syscall.AI_ALL |