Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for sysvicall6 (0.14 sec)

  1. src/internal/syscall/unix/at_solaris.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"
    
    // Implemented as sysvicall6 in runtime/syscall_solaris.go.
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    // Implemented as rawsysvicall6 in runtime/syscall_solaris.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  2. src/syscall/zsyscall_aix_ppc64.go

    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup2(old int, new int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r0, _, _ := syscall.Syscall6(procCM_Get_DevNode_Status.Addr(), 4, uintptr(unsafe.Pointer(status)), uintptr(unsafe.Pointer(problemNumber)), uintptr(devInst), uintptr(flags), 0, 0)
    	ret = CONFIGRET(r0)
    	return
    }
    
    func cm_Get_Device_Interface_List(interfaceClass *GUID, deviceID *uint16, buffer *uint16, bufferLen uint32, flags uint32) (ret CONFIGRET) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  4. src/syscall/export_linux_test.go

    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)
    	if errno != 0 {
    		return -1, errno
    	}
    	return pgid, nil
    }
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    	_, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:18:19 UTC 2024
    - 775 bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd3.go

    func syscallX()
    
    // golang.org/x/sys linknames syscall.syscall6
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    //go:cgo_unsafe_args
    func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
    	entersyscall()
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscall6)), unsafe.Pointer(&fn))
    	exitsyscall()
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/internal/runtime/syscall/asm_linux_loong64.s

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    //
    // We need to convert to the syscall ABI.
    //
    // arg | ABIInternal | Syscall
    // ---------------------------
    // num | R4          | R11
    // a1  | R5          | R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1013 bytes
    - Viewed (0)
  7. src/internal/syscall/unix/asm_solaris.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // System calls for Solaris are implemented in runtime/syscall_solaris.go
    
    TEXT ·syscall6(SB),NOSPLIT,$0-88
    	JMP	syscall·sysvicall6(SB)
    
    TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 391 bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_arm.go

    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
    	r0, _, e1 := syscall6(abi.FuncPCABI0(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
    	wpid = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. src/internal/syscall/unix/eaccess_bsd.go

    import (
    	"syscall"
    	"unsafe"
    )
    
    func faccessat(dirfd int, path string, mode uint32, flags int) error {
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	_, _, errno := syscall.Syscall6(syscall.SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(mode), uintptr(flags), 0, 0)
    	if errno != 0 {
    		return errno
    	}
    	return err
    }
    
    func Eaccess(path string, mode uint32) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:36:52 UTC 2024
    - 708 bytes
    - Viewed (0)
  10. src/internal/syscall/unix/eaccess_openbsd.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd && !mips64
    
    package unix
    
    import (
    	"internal/abi"
    	"syscall"
    	"unsafe"
    )
    
    //go:linkname syscall_syscall6 syscall.syscall6
    func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    func libc_faccessat_trampoline()
    
    //go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:36:52 UTC 2024
    - 946 bytes
    - Viewed (0)
Back to top