repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert r215321.
[official-gcc.git]
/
libgo
/
go
/
net
/
cgo_netbsd.go
blob
3c13103831f6aef54e0828bd97ecea8c0bb2af08
1
// Copyright 2011 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
5
// +build cgo,!netgo
6
7
package
net
8
9
/*
10
#include <netdb.h>
11
*/
12
import
"C"
13
14
func
cgoAddrInfoFlags
()
int
{
15
return
C
.
AI_CANONNAME
16
}