Code generated by cmd/cgo; DO NOT EDIT.
line /usr/local/Cellar/go/1.16.3/libexec/src/net/cgo_resnew.go:1:1 Copyright 2015 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
+build cgo,!netgo +build darwin linux,!android netbsd solaris

package net
#include <sys/types.h>#include <sys/socket.h>
#include <netdb.h>
import _ 

import 

func cgoNameinfoPTR(b []byte, sa * /*line :20:35*/_Ctype_struct_sockaddr /*line :20:52*/, salen  /*line :20:60*/_Ctype_socklen_t /*line :20:71*/) (int, error) {
	gerrno, err := ( /*line :21:17*/_C2func_getnameinfo /*line :21:29*/)(sa, salen, (* /*line :21:44*/_Ctype_char /*line :21:50*/)(unsafe.Pointer(&b[0])),  /*line :21:76*/_Ctype_socklen_t /*line :21:87*/(len(b)), nil, 0, ( /*line :21:105*/_Ciconst_NI_NAMEREQD /*line :21:117*/))
	return int(gerrno), err