Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for gai_strerror (0.87 sec)

  1. src/net/cgo_unix_cgo.go

    func _C_freeaddrinfo(ai *_C_struct_addrinfo) {
    	C.freeaddrinfo(ai)
    }
    
    func _C_gai_strerror(eai _C_int) string {
    	return C.GoString(C.gai_strerror(eai))
    }
    
    func _C_getaddrinfo(hostname, servname *_C_char, hints *_C_struct_addrinfo, res **_C_struct_addrinfo) (int, error) {
    	x, err := C.getaddrinfo(hostname, servname, hints, res)
    	return int(x), err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 17:49:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/net_darwin.go

    		uintptr(flags),
    		0,
    		0)
    	var err error
    	if errno != 0 {
    		err = errno
    	}
    	return int(gerrno), err
    }
    
    //go:cgo_import_dynamic libc_gai_strerror gai_strerror "/usr/lib/libSystem.B.dylib"
    func libc_gai_strerror_trampoline()
    
    func GaiStrerror(ecode int) string {
    	r1, _, _ := syscall_syscall(abi.FuncPCABI0(libc_gai_strerror_trampoline),
    		uintptr(ecode),
    		0, 0)
    	return GoString((*byte)(unsafe.Pointer(r1)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 13:41:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/net/cgo_unix_syscall.go

    func _C_ai_socktype(ai *_C_struct_addrinfo) *_C_int          { return &ai.Socktype }
    
    func _C_freeaddrinfo(ai *_C_struct_addrinfo) {
    	unix.Freeaddrinfo(ai)
    }
    
    func _C_gai_strerror(eai _C_int) string {
    	return unix.GaiStrerror(int(eai))
    }
    
    func _C_getaddrinfo(hostname, servname *byte, hints *_C_struct_addrinfo, res **_C_struct_addrinfo) (int, error) {
    	return unix.Getaddrinfo(hostname, servname, hints, res)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top