Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 246 for syscall3 (0.23 sec)

  1. src/runtime/sys_darwin_arm64.s

    	ADD	$16, RSP
    	MOVD	R0, 48(R2)	// save err
    ok:
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    // syscallX takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscallX must be called on the g0 stack with the
    // C calling convention (use libcCall).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. src/runtime/syscall_windows.go

    // must be kept 16-byte aligned on syscall entry.
    //
    // Although it only permits maximum 42 parameters, it
    // is arguably large enough.
    const maxArgs = 42
    
    //go:linkname syscall_SyscallN syscall.SyscallN
    //go:nosplit
    func syscall_SyscallN(fn uintptr, args ...uintptr) (r1, r2, err uintptr) {
    	if len(args) > maxArgs {
    		panic("runtime: SyscallN has too many arguments")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go

    func Issetugid() (tainted bool) {
    	r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
    	tainted = bool(r0 != 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Kill(pid int, signum syscall.Signal) (err error) {
    	_, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 38.8K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go

    //go:build linux && arm64
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    	_, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go

    //go:build linux && mips64le
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    	_, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. src/runtime/sys_netbsd_amd64.s

    	MOVL	$SYS____lwp_park60, AX
    	SYSCALL
    	MOVL	AX, ret+40(FP)
    	RET
    
    TEXT runtime·lwp_unpark(SB),NOSPLIT,$0
    	MOVL	lwp+0(FP), DI		// arg 1 - lwp
    	MOVQ	hint+8(FP), SI		// arg 2 - hint
    	MOVL	$SYS__lwp_unpark, AX
    	SYSCALL
    	MOVL	AX, ret+16(FP)
    	RET
    
    TEXT runtime·lwp_self(SB),NOSPLIT,$0
    	MOVL	$SYS__lwp_self, AX
    	SYSCALL
    	MOVL	AX, ret+0(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_freebsd_386.go

    	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_linux_riscv64.go

    	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_netbsd_386.go

    	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 30.1K bytes
    - Viewed (0)
Back to top