Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for syscall2 (0.23 sec)

  1. src/runtime/sys_darwin.go

    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/zsyscall_windows.go

    	modiphlpapi         = syscall.NewLazyDLL(sysdll.Add("iphlpapi.dll"))
    	modkernel32         = syscall.NewLazyDLL(sysdll.Add("kernel32.dll"))
    	modnetapi32         = syscall.NewLazyDLL(sysdll.Add("netapi32.dll"))
    	modntdll            = syscall.NewLazyDLL(sysdll.Add("ntdll.dll"))
    	modpsapi            = syscall.NewLazyDLL(sysdll.Add("psapi.dll"))
    	moduserenv          = syscall.NewLazyDLL(sysdll.Add("userenv.dll"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_riscv64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows.go

    //go:linkname syscall_Syscall9 syscall.Syscall9
    //go:nosplit
    func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall12 syscall.Syscall12
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_arm.go

    func Fsync(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fsync_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fsync_trampoline()
    
    //go:cgo_import_dynamic libc_fsync fsync "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Ftruncate(fd int, length int64) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_386.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/syscall_windows.go

    		var s syscall.Handle
    		s, sendRecvMsgFunc.err = syscall.Socket(syscall.AF_INET, syscall.SOCK_DGRAM, syscall.IPPROTO_UDP)
    		if sendRecvMsgFunc.err != nil {
    			return
    		}
    		defer syscall.CloseHandle(s)
    		var n uint32
    		sendRecvMsgFunc.err = syscall.WSAIoctl(s,
    			syscall.SIO_GET_EXTENSION_FUNCTION_POINTER,
    			(*byte)(unsafe.Pointer(&WSAID_WSARECVMSG)),
    			uint32(unsafe.Sizeof(WSAID_WSARECVMSG)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/net/cgo_unix.go

    // This file is called cgo_unix.go, but to allow syscalls-to-libc-based
    // implementations to share the code, it does not use cgo directly.
    // Instead of C.foo it uses _C_foo, which is defined in either
    // cgo_unix_cgo.go or cgo_unix_syscall.go
    
    //go:build !netgo && ((cgo && unix) || darwin)
    
    package net
    
    import (
    	"context"
    	"errors"
    	"internal/bytealg"
    	"net/netip"
    	"syscall"
    	"unsafe"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/syscall/syscall_darwin.go

    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_aix_ppc64.go

    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup2(old int, new int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top