Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,035 for syscall3 (0.16 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
    	_, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go

    func Issetugid() (tainted bool) {
    	r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
    	tainted = bool(r0 != 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Kill(pid int, signum syscall.Signal) (err error) {
    	_, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests a G being created from within a syscall.
    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). Because the actual
    // m can be reused, it's possible for that m to have never
    // had its P (in _Psyscall) stolen if the runtime doesn't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_dragonfly_amd64.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
    - 31.7K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_riscv64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top