Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 534 for syscall1 (0.51 sec)

  1. src/runtime/syscall_aix.go

    	_, err = syscall3(&libc_ioctl, fd, req, arg)
    	return
    }
    
    //go:linkname syscall_setgid syscall.setgid
    //go:nosplit
    func syscall_setgid(gid uintptr) (err uintptr) {
    	_, err = syscall1(&libc_setgid, gid)
    	return
    }
    
    //go:linkname syscall_setgroups1 syscall.setgroups1
    //go:nosplit
    func syscall_setgroups1(ngid, gid uintptr) (err uintptr) {
    	_, err = syscall2(&libc_setgroups, ngid, gid)
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/syscall/dll_windows.go

    func Syscall12(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall15(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_openbsd_libc.go

    }
    
    // Implemented in the runtime package (runtime/sys_openbsd3.go)
    func syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/syscall/asm_freebsd_arm64.s

    	RET
    ok:
    	MOVD	R0, r1+56(FP)
    	MOVD	R1, r2+64(FP)
    	MOVD	ZR, err+72(FP)
    	RET
    
    // Actually Syscall7
    // func Syscall9(num uintptr, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr)
    TEXT ·Syscall9(SB),NOSPLIT,$0-104
    	BL	runtime·entersyscall<ABIInternal>(SB)
    	MOVD	num+0(FP), R8	// syscall entry
    	MOVD	a1+8(FP), R0
    	MOVD	a2+16(FP), R1
    	MOVD	a3+24(FP), R2
    	MOVD	a4+32(FP), R3
    	MOVD	a5+40(FP), R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/registry/syscall.go

    //go:build windows
    
    package registry
    
    import "syscall"
    
    const (
    	_REG_OPTION_NON_VOLATILE = 0
    
    	_REG_CREATED_NEW_KEY     = 1
    	_REG_OPENED_EXISTING_KEY = 2
    
    	_ERROR_NO_MORE_ITEMS syscall.Errno = 259
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/syscall/asm_freebsd_riscv64.s

    	MOV	A0, err+48(FP)	// errno
    	CALL	runtime·exitsyscall(SB)
    	RET
    
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	CALL	runtime·entersyscall(SB)
    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	a4+32(FP), A3
    	MOV	a5+40(FP), A4
    	MOV	a6+48(FP), A5
    	MOV	trap+0(FP), T0	// syscall entry
    	ECALL
    	BNE	T0, ZERO, err
    	MOV	A0, r1+56(FP)	// r1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    // holds a value of type syscall.Errno.
    package windows // import "golang.org/x/sys/windows"
    
    import (
    	"bytes"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    // containing the text of s. If s contains a NUL byte at any
    // location, it returns (nil, syscall.EINVAL).
    func ByteSliceFromString(s string) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/syscall/asm_darwin_arm64.s

    	RET
    ok:
    	MOVD	R0, r1+56(FP) // r1
    	MOVD	R1, r2+64(FP)	// r2
    	MOVD	ZR, R0
    	MOVD	R0, err+72(FP)	// err
    	RET
    
    // Actually Syscall7
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	BL	runtime·entersyscall<ABIInternal>(SB)
    	MOVD	num+0(FP), R16	// syscall entry
    	MOVD	a1+8(FP), R0
    	MOVD	a2+16(FP), R1
    	MOVD	a3+24(FP), R2
    	MOVD	a4+32(FP), R3
    	MOVD	a5+40(FP), R4
    	MOVD	a6+48(FP), R5
    	MOVD	a7+56(FP), R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/README.md

    them into syscalls. This requires the name of the prototype in the comment to
    match a syscall number in the `zsysnum_${GOOS}_${GOARCH}.go` file. The function
    prototype can be exported (capitalized) or not.
    
    Adding a new syscall often just requires adding a new `//sys` function prototype
    with the desired arguments and a capitalized name so it is exported. However, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 14:32:58 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall.go

    // the manuals for the appropriate operating system.
    //
    // These calls return err == nil to indicate success; otherwise
    // err represents an operating system error describing the failure and
    // holds a value of type syscall.Errno.
    package unix // import "golang.org/x/sys/unix"
    
    import (
    	"bytes"
    	"strings"
    	"unsafe"
    )
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top