Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 472 for syscall1 (0.11 sec)

  1. src/runtime/os_aix.go

    	throw("runPerThreadSyscall only valid on linux")
    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/internal/runtime/syscall/syscall_linux.go

    // license that can be found in the LICENSE file.
    
    // Package syscall provides the syscall primitives required for the runtime.
    package syscall
    
    import (
    	"unsafe"
    )
    
    // TODO(https://go.dev/issue/51087): This package is incomplete and currently
    // only contains very minimal support for Linux.
    
    // Syscall6 calls system call number 'num' with arguments a1-6.
    func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:26:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin_amd64.go

    //go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
    
    // Implemented in the runtime package (runtime/sys_darwin_64.go)
    func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin_arm64.go

    //go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
    
    // Implemented in the runtime package (runtime/sys_darwin_64.go)
    func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go

    //go:build linux && ppc64
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    	_, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/gccgo.go

    	syscall.Entersyscall()
    	r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
    	syscall.Exitsyscall()
    	return r, 0, syscall.Errno(errno)
    }
    
    func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) {
    	syscall.Entersyscall()
    	r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9)
    	syscall.Exitsyscall()
    	return r, 0, syscall.Errno(errno)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_netbsd_arm.go

    	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_linux_arm64.go

    	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
Back to top