Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 376 for syscall2 (0.1 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go

    //go:build linux && gccgo && 386
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    	offsetHigh := uint32((offset >> 32) & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 986 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go

    	var writtenOut uint64 = 0
    	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
    
    	written = int(writtenOut)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go

    	var writtenOut uint64 = 0
    	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
    
    	written = int(writtenOut)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/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 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.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)
  7. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s

    //go:build linux && (mips64 || mips64le) && gc
    
    #include "textflag.h"
    
    //
    // System calls for mips64, Linux
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
    	JAL	runtime·entersyscall(SB)
    	MOVV	a1+8(FP), R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_s390x.s

    //go:build linux && s390x && gc
    
    #include "textflag.h"
    
    //
    // System calls for s390x, Linux
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-56
    	BR	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	BR	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
    	BL	runtime·entersyscall(SB)
    	MOVD	a1+8(FP), R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/syscall/flock_aix.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    import "unsafe"
    
    // On AIX, there is no flock() system call.
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 570 bytes
    - Viewed (0)
  10. src/syscall/export_linux_test.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    import (
    	"unsafe"
    )
    
    var (
    	RawSyscallNoError = rawSyscallNoError
    	ForceClone3       = &forceClone3
    	Prlimit           = prlimit
    )
    
    const (
    	Sys_GETEUID = sys_GETEUID
    )
    
    func Tcgetpgrp(fd int) (pgid int32, err error) {
    	_, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCGPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:18:19 UTC 2024
    - 775 bytes
    - Viewed (0)
Back to top