- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 204 for syscalls (0.91 sec)
-
src/syscall/mkall.sh
mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl" # Let the type of C char be signed to make the bare syscall # API consistent between platforms. mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ;; freebsd_riscv64) mkerrors="$mkerrors" mksysnum="curl -s 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12' | ./mksysnum_freebsd.pl"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 18:22:23 UTC 2023 - 14.6K bytes - Viewed (0) -
src/runtime/os2_aix.go
pid, err := syscall0(&libc_getpid) if int32(pid) == -1 { println("syscall getpid failed: ", hex(err)) throw("syscall raiseproc") } syscall2(&libc_kill, pid, uintptr(sig)) } func osyield1() //go:nosplit func osyield_no_g() { osyield1() } //go:nosplit func osyield() { r, err := syscall0(&libc_sched_yield) if int32(r) == -1 { println("syscall osyield failed: ", hex(err))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
origLimit := syscall.OrigRlimitNofile() origRlimitNofile := syscall.GetInternalOrigRlimitNofile() if origLimit == nil { defer origRlimitNofile.Store(origLimit) origRlimitNofile.Store(&syscall.Rlimit{ Cur: 1024, Max: 65536, }) } // Get current process's nofile limit var lim syscall.Rlimit if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && darwin package unix // Deprecated: Use libSystem wrappers instead of direct syscalls. const ( SYS_SYSCALL = 0 SYS_EXIT = 1 SYS_FORK = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 17.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && openbsd package unix // Deprecated: Use libc wrappers instead of direct syscalls. const ( SYS_EXIT = 1 // { void sys_exit(int rval); } SYS_FORK = 2 // { int sys_fork(void); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 17.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
*flagOutfile += ".exe" } } interpreter = *flagInterpreter if *flagBuildid == "" && ctxt.Target.IsOpenbsd() { // TODO(jsing): Remove once direct syscalls are no longer in use. // OpenBSD 6.7 onwards will not permit direct syscalls from a // dynamically linked binary unless it identifies the binary // contains a .note.go.buildid ELF note. See issue #36435. *flagBuildid = "go-openbsd" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && openbsd package unix // Deprecated: Use libc wrappers instead of direct syscalls. const ( SYS_EXIT = 1 // { void sys_exit(int rval); } SYS_FORK = 2 // { int sys_fork(void); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go
// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && openbsd package unix // Deprecated: Use libc wrappers instead of direct syscalls. const ( SYS_EXIT = 1 // { void sys_exit(int rval); } SYS_FORK = 2 // { int sys_fork(void); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 18K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && darwin package unix // Deprecated: Use libSystem wrappers instead of direct syscalls. const ( SYS_SYSCALL = 0 SYS_EXIT = 1 SYS_FORK = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 17.8K bytes - Viewed (0)