Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for sysvicall6 (0.15 sec)

  1. src/internal/syscall/unix/tcsetpgrp_linux.go

    import (
    	"syscall"
    	"unsafe"
    )
    
    // Note that pgid should really be pid_t, however _C_int (aka int32) is
    // generally equivalent.
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    	_, _, errno := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), uintptr(syscall.TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 537 bytes
    - Viewed (0)
  2. src/os/wait6_netbsd.go

    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 1 // not 0 as on FreeBSD and Dragonfly!
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 534 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s

    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "textflag.h"
    
    //
    // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
    //
    
    TEXT ·syscall6(SB),NOSPLIT,$0-88
    	JMP	syscall·syscall6(SB)
    
    TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 407 bytes
    - Viewed (0)
  4. src/os/wait6_freebsd64.go

    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 547 bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/asm_unix_amd64.s

    //go:build dragonfly || freebsd || netbsd
    
    #include "textflag.h"
    #include "funcdata.h"
    
    //
    // System call support for AMD64 unixes
    //
    
    // func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64)
    // func Syscall6(trap int64, a1, a2, a3, a4, a5, a6 int64) (r1, r2, err int64)
    // Trap # in AX, args in DI SI DX, return in AX DX
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	CALL	runtime·entersyscall<ABIInternal>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. src/syscall/asm_plan9_arm.s

    	MOVW	$str-140(SP), R2
    syscallok:
    	MOVW	$err+24(FP), R1
    	MOVM.IA	(R2), [R3-R4]
    	MOVM.IA	[R3-R4], (R1)
    	RET
    
    
    //func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err ErrorString)
    // Actually Syscall5 but the rest of the code expects it to be named Syscall6.
    TEXT	·Syscall6(SB),NOSPLIT,$144-44
    	NO_LOCAL_POINTERS
    	BL		runtime·entersyscall(SB)
    	MOVW	$a1+4(FP), R0	// move syscall args
    	MOVW	$sysargs-144(SP), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 14:57:01 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  8. src/internal/syscall/unix/at_fstatat.go

    	"unsafe"
    )
    
    func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error {
    	var p *byte
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    
    	_, _, errno := syscall.Syscall6(fstatatTrap, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
    	if errno != 0 {
    		return errno
    	}
    
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 646 bytes
    - Viewed (0)
  9. src/os/wait6_dragonfly.go

    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 496 bytes
    - Viewed (0)
  10. src/syscall/asm_aix_ppc64.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 aix/ppc64 are implemented in ../runtime/syscall_aix.go
    //
    
    TEXT ·syscall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_syscall6(SB)
    
    TEXT ·rawSyscall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawSyscall6(SB)
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0
    	JMP	runtime·syscall_RawSyscall(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 14 09:10:02 UTC 2018
    - 540 bytes
    - Viewed (0)
Back to top