- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for sysvicall6 (0.15 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func readv(fd int, iovs []Iovec) (n int, err error) { var _p0 *Iovec if len(iovs) > 0 { _p0 = &iovs[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0) n = int(r0) 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 - 2.6K bytes - Viewed (0) -
src/syscall/exec_solaris_test.go
var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) pgid = int(r0) if e1 != 0 { err = e1 } return } func Getpgrp() (pgrp int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&libc_Getpgrp)), 0, 0, 0, 0, 0, 0, 0) pgrp = int(r0) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/syscall.go
) //go:cgo_import_dynamic libc_ioctl ioctl "libc.so" //go:linkname procIoctl libc_ioctl var procIoctl uintptr func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno) func ioctl(s, ioc uintptr, arg unsafe.Pointer) error { _, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procIoctl)), 3, s, ioc, uintptr(arg), 0, 0, 0) if errno != 0 { return error(errno) } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 642 bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s
// license that can be found in the LICENSE file. //go:build gc #include "textflag.h" // // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go // TEXT ·sysvicall6(SB),NOSPLIT,$0-88 JMP syscall·sysvicall6(SB) TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 423 bytes - Viewed (0) -
src/internal/runtime/syscall/syscall_linux.go
// 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) func EpollCreate1(flags int32) (fd int32, errno uintptr) { r1, _, e := Syscall6(SYS_EPOLL_CREATE1, uintptr(flags), 0, 0, 0, 0, 0) return int32(r1), e } var _zero 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) -
src/internal/runtime/syscall/asm_linux_ppc64x.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build linux && (ppc64 || ppc64le) #include "textflag.h" // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) TEXT ·Syscall6<ABIInternal>(SB),NOSPLIT,$0-80 MOVD R3, R10 // Move syscall number to R10. SYSCALL will move it R0, and restore R0. MOVD R4, R3 MOVD R5, R4 MOVD R6, R5 MOVD R7, R6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 702 bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_arm64.s
// 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) TEXT ·Syscall6(SB),NOSPLIT,$0-80 MOVD num+0(FP), R8 // syscall entry MOVD a1+8(FP), R0 MOVD a2+16(FP), R1 MOVD a3+24(FP), R2 MOVD a4+32(FP), R3 MOVD a5+40(FP), R4 MOVD a6+48(FP), R5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 645 bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_arm.s
// 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) TEXT ·Syscall6(SB),NOSPLIT,$0-40 MOVW num+0(FP), R7 // syscall entry MOVW a1+4(FP), R0 MOVW a2+8(FP), R1 MOVW a3+12(FP), R2 MOVW a4+16(FP), R3 MOVW a5+20(FP), R4 MOVW a6+24(FP), R5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 696 bytes - Viewed (0) -
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)