Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 835 for syscalls (0.11 sec)

  1. src/runtime/testdata/testprog/syscalls.go

    Michael Anthony Knyszek <******@****.***> 1545337305 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 21 18:42:22 UTC 2018
    - 256 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    freebsd_arm)
    	mkerrors="$mkerrors"
    	mksyscall="go run mksyscall.go -l32 -arm"
    	mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
    	# Let the type of C char be signed for making the bare syscall
    	# API consistent across platforms.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/os/pidfd_linux.go

    //  v5.1: pidfd_send_signal syscall;
    //  v5.2: CLONE_PIDFD flag for clone syscall;
    //  v5.3: pidfd_open syscall, clone3 syscall;
    //  v5.4: P_PIDFD idtype support for waitid syscall;
    //  v5.6: pidfd_getfd syscall.
    
    package os
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	if !pidfdWorks() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && gc
    
    package unix
    
    // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
    func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
    
    // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
    // fail.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 495 bytes
    - Viewed (0)
  9. 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)
  10. src/internal/syscall/unix/getentropy_openbsd_mips64.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    // getentropy(2)'s syscall number, from /usr/src/sys/kern/syscalls.master
    const entropyTrap uintptr = 7
    
    // GetEntropy calls the OpenBSD getentropy system call.
    func GetEntropy(p []byte) error {
    	_, _, errno := syscall.Syscall(entropyTrap,
    		uintptr(unsafe.Pointer(&p[0])),
    		uintptr(len(p)),
    		0)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 16:59:38 UTC 2022
    - 554 bytes
    - Viewed (0)
Back to top