- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 553 for __errno (0.11 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s
TEXT ·clearErrno(SB), NOSPLIT, $0-0 BL addrerrno<>(SB) MOVD $0, 0(R3) RET // Returns the address of errno in R3. TEXT addrerrno<>(SB), NOSPLIT|NOFRAME, $0-0 // Get library control area (LCA). MOVW PSALAA, R8 MOVD LCA64(R8), R8 // Get __errno FuncDesc. MOVD CAA(R8), R9 MOVD EDCHPXV(R9), R9 ADD $(__errno), R9 LMG 0(R9), R5, R6 // Switch to saved LE stack. MOVD SAVSTACK_ASYNC(R8), R9 MOVD 0(R9), R4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 11.2K bytes - Viewed (0) -
src/runtime/sys_openbsd2.go
clock_id int32 tp unsafe.Pointer }{_CLOCK_MONOTONIC, unsafe.Pointer(&ts)} if errno := libcCall(unsafe.Pointer(abi.FuncPCABI0(clock_gettime_trampoline)), unsafe.Pointer(&args)); errno < 0 { // Avoid growing the nosplit stack. systemstack(func() { println("runtime: errno", -errno) throw("clock_gettime failed") }) } return ts.tv_sec*1e9 + int64(ts.tv_nsec) } func clock_gettime_trampoline()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
} // __errno() errno := int(*(*int32)(unsafe.Pointer(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO<<4, []uintptr{})))) // __errno2() errno2 := int(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO2<<4, []uintptr{})) // strerror_r() ret = runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS_STRERROR_R<<4, []uintptr{uintptr(errno), uintptr(unsafe.Pointer(&buffer[0])), 1024})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
src/runtime/os_aix.go
} //go:nosplit func getuid() int32 { r, errno := syscall0(&libc_getuid) if errno != 0 { print("getuid failed ", errno) throw("getuid") } return int32(r) } //go:nosplit func geteuid() int32 { r, errno := syscall0(&libc_geteuid) if errno != 0 { print("geteuid failed ", errno) throw("geteuid") } return int32(r) } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/syscall/unix/net_darwin.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 13:41:21 UTC 2023 - 4.3K bytes - Viewed (0) -
src/internal/syscall/unix/siginfo_linux_test.go
if v := unsafe.Sizeof(si); v != 128 { t.Fatalf("sizeof: got %d, want 128", v) } ofSigno := 0 ofErrno := 4 ofCode := 8 if strings.HasPrefix(runtime.GOARCH, "mips") { // These two fields are swapped on MIPS platforms. ofErrno, ofCode = ofCode, ofErrno } ofPid := 12 if host64bit { ofPid = 16 } ofUid := ofPid + 4 ofStatus := ofPid + 8 offsets := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/cgo_unix.go
var gerrno int var b []byte for l := nameinfoLen; l <= maxNameinfoLen; l *= 2 { b = make([]byte, l) gerrno, err = cgoNameinfoPTR(b, sa, salen) if gerrno == 0 || gerrno != _C_EAI_OVERFLOW { break } } if gerrno != 0 { switch gerrno { case _C_EAI_SYSTEM: if err == nil { // see golang.org/issue/6232
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K bytes - Viewed (0) -
src/runtime/os3_solaris.go
mp.libcall.args = uintptr(unsafe.Pointer(&mp.scratch)) asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&mp.libcall)) if *mp.perrno != 0 { if *mp.perrno == _ETIMEDOUT || *mp.perrno == _EAGAIN || *mp.perrno == _EINTR { return -1 } throw("sem_reltimedwait_np") } return 0 } for { mp.libcall.fn = uintptr(unsafe.Pointer(&libc_sem_wait))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/net/net_windows_test.go
if err != nil { // Display windows errno in error message. errno, ok := toErrno(err) if !ok { return "", err } return "", fmt.Errorf("%v (windows errno=%d)", err, errno) } defer c.Close() b := make([]byte, 100) n, err := c.Read(b) if err == nil || err == io.EOF { return string(b[:n]), nil } errno, ok := toErrno(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/syscall/mksyscall.pl
# Assign return values. my $body = ""; my @ret = ("_", "_", "_"); my $do_errno = 0; for(my $i=0; $i<@out; $i++) { my $p = $out[$i]; my ($name, $type) = parseparam($p); my $reg = ""; if($name eq "err" && !$plan9) { $reg = "e1"; $ret[2] = $reg; $do_errno = 1; } elsif($name eq "err" && $plan9) { $ret[0] = "r0"; $ret[2] = "e1"; next; } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0)