Source File
cgo_resnew.go
Belonging Package
net
// Code generated by cmd/cgo; DO NOT EDIT.
//line /opt/hostedtoolcache/go/1.23.8/x64/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.
//go:build cgo && !netgo && ((linux && !android) || netbsd || solaris)
package net
/*
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
*/
import _
import
func ( []byte, * /*line :19:35*/_Ctype_struct_sockaddr /*line :19:52*/, /*line :19:60*/_Ctype_socklen_t /*line :19:71*/) (int, error) {
, := ( /*line :20:17*/_C2func_getnameinfo /*line :20:29*/)(, , (* /*line :20:44*/_Ctype_char /*line :20:50*/)(unsafe.Pointer(&[0])), /*line :20:76*/_Ctype_socklen_t /*line :20:87*/(len()), nil, 0, ( /*line :20:105*/_Ciconst_NI_NAMEREQD /*line :20:117*/))
return int(),
}
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |