- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for sysvicall6 (0.31 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/syscall/syscall_illumos.go
const F_DUP2FD_CLOEXEC = 0x24 //go:cgo_import_dynamic libc_flock flock "libc.so" //go:linkname procFlock libc_flock var procFlock libcFunc func Flock(fd int, how int) error { _, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0) if errno != 0 { return errno } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 15 21:07:18 UTC 2022 - 613 bytes - Viewed (0) -
src/syscall/asm_solaris_amd64.s
// license that can be found in the LICENSE file. #include "textflag.h" // // System calls for solaris/amd64 are implemented in ../runtime/syscall_solaris.go // TEXT ·sysvicall6(SB),NOSPLIT,$0 JMP runtime·syscall_sysvicall6(SB) TEXT ·rawSysvicall6(SB),NOSPLIT,$0 JMP runtime·syscall_rawsysvicall6(SB) TEXT ·chdir(SB),NOSPLIT,$0 JMP runtime·syscall_chdir(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 15 17:21:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/runtime/os_solaris.go
if mp != nil { mp.libcallsp = 0 } return libcall.r1 } //go:nosplit func sysvicall1(fn *libcFunc, a1 uintptr) uintptr { r1, _ := sysvicall1Err(fn, a1) return r1 } // sysvicall1Err returns both the system call result and the errno value. // This is used by sysvicall1 and pipe. // //go:nosplit func sysvicall1Err(fn *libcFunc, a1 uintptr) (r1, err uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 6.6K bytes - Viewed (0) -
src/syscall/mksyscall_libc.pl
} else { push @args, "uintptr($name)"; } } my $nargs = @args; my $asmfuncname=""; my $asmrawfuncname=""; if($aix){ $asmfuncname="syscall6"; $asmrawfuncname="rawSyscall6"; } else { $asmfuncname="sysvicall6"; $asmrawfuncname="rawSysvicall6"; } # Determine which form to use; pad args with zeros. my $asm = "${syscalldot}${asmfuncname}"; if ($nonblock) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 11:28:51 UTC 2023 - 8K bytes - Viewed (0) -
src/runtime/syscall_solaris.go
} asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&call)) return call.r1, call.r2, call.err } // TODO(aram): Once we remove all instances of C calling sysvicallN, make // sysvicallN return errors and replace the body of the following functions // with calls to sysvicallN. //go:nosplit //go:linkname syscall_chdir func syscall_chdir(path uintptr) (err uintptr) { call := libcall{ fn: uintptr(unsafe.Pointer(&libc_chdir)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.4K bytes - Viewed (0)