Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 709 for syscall0 (0.13 sec)

  1. 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)
  2. src/internal/syscall/unix/fallocate_freebsd_386.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import "syscall"
    
    func PosixFallocate(fd int, off int64, size int64) error {
    	// If successful, posix_fallocate() returns zero. It returns an error on failure, without
    	// setting errno. See https://man.freebsd.org/cgi/man.cgi?query=posix_fallocate&sektion=2&n=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 627 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    		perror("failed to register SIGUSR1 handler");
    		exit(EXIT_FAILURE);
    	}
    }
    */
    import "C"
    
    func main() {
    	ch := make(chan os.Signal, 1)
    	signal.Notify(ch, syscall.SIGUSR2)
    
    	C.register_handler(C.int(syscall.SIGUSR1))
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    
    	<-ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. 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)
  5. src/syscall/zsyscall_plan9_amd64.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 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/copy_file_range_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
    	r1, _, errno := syscall.Syscall6(copyFileRangeTrap,
    		uintptr(rfd),
    		uintptr(unsafe.Pointer(roff)),
    		uintptr(wfd),
    		uintptr(unsafe.Pointer(woff)),
    		uintptr(len),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 00:59:36 UTC 2020
    - 556 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/internal/syscall/unix/getrandom_solaris.go

    	if len(p) == 0 {
    		return 0, nil
    	}
    	if getrandomUnsupported.Load() {
    		return 0, syscall.ENOSYS
    	}
    	r1, _, errno := syscall6(uintptr(unsafe.Pointer(&procGetrandom)),
    		3,
    		uintptr(unsafe.Pointer(&p[0])),
    		uintptr(len(p)),
    		uintptr(flags),
    		0, 0, 0)
    	if errno != 0 {
    		if errno == syscall.ENOSYS {
    			getrandomUnsupported.Store(true)
    		}
    		return 0, errno
    	}
    	return int(r1), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:54:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top