- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 927 for syscall0 (0.67 sec)
-
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) -
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) -
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) -
src/runtime/sys_openbsd_arm.s
MOVW $0, R0 // no error (it's ignored anyway) MOVW R9, R13 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: Tue Jun 06 18:49:01 UTC 2023 - 18.5K bytes - Viewed (0) -
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) -
src/runtime/sys_openbsd_arm64.s
CMP $-1, R0 BNE 3(PC) MOVD $0, R0 // crash on syscall failure MOVD R0, (R0) RET // syscall calls a function in libc on behalf of the syscall package. // syscall takes a pointer to a struct like: // struct { // fn uintptr // a1 uintptr // a2 uintptr // a3 uintptr // r1 uintptr // r2 uintptr // err uintptr // } // syscall must be called on the g0 stack with the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.1K bytes - Viewed (0) -
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) -
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) -
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) -
src/syscall/asm_netbsd_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), R17 // 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.9K bytes - Viewed (0)