- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,035 for syscall3 (0.15 sec)
-
src/internal/syscall/unix/at.go
//go:build dragonfly || freebsd || linux || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func Unlinkat(dirfd int, path string, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err } _, _, errno := syscall.Syscall(unlinkatTrap, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags)) if errno != 0 { return errno }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 15:51:18 UTC 2022 - 917 bytes - Viewed (0) -
src/syscall/syscall_plan9_test.go
func TestPlan9Syserr(t *testing.T) { testalias(t, "Syscall", func() error { return syscall.Mkdir("/", 0) }, func() error { return syscall.Mkdir("#", 0) }) testalias(t, "Syscall6", func() error { return syscall.Mount(0, 0, "", 0, "") }, func() error { return syscall.Mount(-1, 0, "", 0, "") }) // originally failed only on plan9_arm testalias(t,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 14:57:01 UTC 2018 - 1.2K bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_bsd.go
//go:build dragonfly || freebsd || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err } _, _, errno := syscall.Syscall6(syscall.SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(mode), uintptr(flags), 0, 0) if errno != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 708 bytes - Viewed (0) -
src/syscall/zsyscall_plan9_386.go
} else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0) n = int(r0) if int32(r0) == -1 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Close(fd int) (err error) { r0, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) if int32(r0) == -1 { err = e1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.3K bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_openbsd.go
package unix import ( "internal/abi" "syscall" "unsafe" ) //go:linkname syscall_syscall6 syscall.syscall6 func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "libc.so" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 946 bytes - Viewed (0) -
src/os/wait_waitid.go
// We don't care about the values it returns. var siginfo [16]uint64 psig := &siginfo[0] var e syscall.Errno for { _, _, e = syscall.Syscall6(syscall.SYS_WAITID, _P_PID, uintptr(p.Pid), uintptr(unsafe.Pointer(psig)), syscall.WEXITED|syscall.WNOWAIT, 0, 0) if e != syscall.EINTR { break } } runtime.KeepAlive(p) if e != 0 { // waitid has been available since Linux 2.6.9, but
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:27:57 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
} else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0) n = int(r0) if int32(r0) == -1 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Close(fd int) (err error) { r0, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) if int32(r0) == -1 { err = e1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) //go:linkname syscall_syscall syscall.syscall //go:linkname syscall_syscall6 syscall.syscall6 //go:linkname syscall_syscall10 syscall.syscall10 //go:linkname syscall_rawSyscall syscall.rawSyscall //go:linkname syscall_rawSyscall6 syscall.rawSyscall6 func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 986 bytes - Viewed (0)