Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Socketpair (0.18 sec)

  1. src/syscall/syscall_unix.go

    	if domain == AF_INET6 && SocketDisableIPv6 {
    		return -1, EAFNOSUPPORT
    	}
    	fd, err = socket(domain, typ, proto)
    	return
    }
    
    func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
    	var fdx [2]int32
    	err = socketpair(domain, typ, proto, &fdx)
    	if err == nil {
    		fd[0] = int(fdx[0])
    		fd[1] = int(fdx[1])
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    //sys	sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.__xnet_sendto
    //sys	socket(domain int, typ int, proto int) (fd int, err error) = libsocket.__xnet_socket
    //sysnb	socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.__xnet_socketpair
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	writev(fd int, iovecs []Iovec) (n uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    //sys	Listen(s int, backlog int) (err error)
    //sys	setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
    //sys	socket(domain int, typ int, proto int) (fd int, err error)
    //sysnb	socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
    //sysnb	getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    //sys	getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_arm.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_Listen listen "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setsockopt setsockopt "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_socket socket "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_socketpair socketpair "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_getpeername getpeername "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_riscv64.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_386.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_amd64.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_arm64.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_ppc64.go

    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    	_, _, e1 := rawSyscall6(abi.FuncPCABI0(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top