Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,035 for syscall3 (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s

    #include "textflag.h"
    
    //
    // System call support for mips64, OpenBSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 677 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s

    #include "textflag.h"
    
    //
    // System call support for ppc64, BSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 716 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/syscall/syscall.go

    // license that can be found in the LICENSE file.
    
    // Package syscall contains an interface to the low-level operating system
    // primitives. The details vary depending on the underlying system, and
    // by default, godoc will display the syscall documentation for the current
    // system. If you want godoc to display syscall documentation for another
    // system, set $GOOS and $GOARCH to the desired system. For example, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. 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)
  7. src/vendor/golang.org/x/net/lif/syscall.go

    // license that can be found in the LICENSE file.
    
    //go:build solaris
    
    package lif
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    
    //go:linkname procIoctl libc_ioctl
    
    var procIoctl uintptr
    
    func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno)
    
    func ioctl(s, ioc uintptr, arg unsafe.Pointer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 642 bytes
    - Viewed (0)
  8. 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)
  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/syscall/zsyscall_windows.go

    	r0, _, e1 := Syscall(procGetCurrentProcess.Addr(), 0, 0, 0, 0)
    	pseudoHandle = Handle(r0)
    	if pseudoHandle == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func getCurrentProcessId() (pid uint32) {
    	r0, _, _ := Syscall(procGetCurrentProcessId.Addr(), 0, 0, 0, 0)
    	pid = uint32(r0)
    	return
    }
    
    func GetEnvironmentStrings() (envs *uint16, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
Back to top