Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for __errno (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/netpoll_solaris.go

    	libc_port_create,
    	libc_port_associate,
    	libc_port_dissociate,
    	libc_port_getn,
    	libc_port_alert libcFunc
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    func errno() int32 {
    	return *getg().m.perrno
    }
    
    func port_create() int32 {
    	return int32(sysvicall0(&libc_port_create))
    }
    
    func port_associate(port, source int32, object uintptr, events uint32, user uintptr) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/runtime/os2_aix.go

    	// newosproc0.
    	if gp != nil {
    		r, errno := syscall3(&libc_write, uintptr(fd), uintptr(p), uintptr(n))
    		if int32(r) < 0 {
    			return -int32(errno)
    		}
    		return int32(r)
    	}
    	// Note that in this case we can't return a valid errno value.
    	return write2(fd, uintptr(p), n)
    }
    
    //go:nosplit
    func read(fd int32, p unsafe.Pointer, n int32) int32 {
    	r, errno := syscall3(&libc_read, uintptr(fd), uintptr(p), uintptr(n))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	EBFONT          = syscall.Errno(0x3b)
    	ECANCELED       = syscall.Errno(0x7d)
    	ECHRNG          = syscall.Errno(0x2c)
    	ECOMM           = syscall.Errno(0x46)
    	ECONNABORTED    = syscall.Errno(0x67)
    	ECONNREFUSED    = syscall.Errno(0x6f)
    	ECONNRESET      = syscall.Errno(0x68)
    	EDEADLK         = syscall.Errno(0x23)
    	EDEADLOCK       = syscall.Errno(0x23)
    	EDESTADDRREQ    = syscall.Errno(0x59)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. src/syscall/tables_js.go

    	ENOTTY          Errno = 25      /* Not a typewriter */
    	EFBIG           Errno = 27      /* File too large */
    	ENOSPC          Errno = 28      /* No space left on device */
    	ESPIPE          Errno = 29      /* Illegal seek */
    	EROFS           Errno = 30      /* Read-only file system */
    	EMLINK          Errno = 31      /* Too many links */
    	EPIPE           Errno = 32      /* Broken pipe */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go

    	EBFONT          = syscall.Errno(0x3b)
    	ECANCELED       = syscall.Errno(0x9e)
    	ECHRNG          = syscall.Errno(0x25)
    	ECOMM           = syscall.Errno(0x46)
    	ECONNABORTED    = syscall.Errno(0x82)
    	ECONNREFUSED    = syscall.Errno(0x92)
    	ECONNRESET      = syscall.Errno(0x83)
    	EDEADLK         = syscall.Errno(0x2d)
    	EDEADLOCK       = syscall.Errno(0x38)
    	EDESTADDRREQ    = syscall.Errno(0x60)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top