Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _ETIME (0.09 sec)

  1. src/runtime/defs1_solaris_amd64.go

    // cgo -cdefs defs_solaris.go defs_solaris_amd64.go
    
    package runtime
    
    const (
    	_EINTR       = 0x4
    	_EBADF       = 0x9
    	_EFAULT      = 0xe
    	_EAGAIN      = 0xb
    	_EBUSY       = 0x10
    	_ETIME       = 0x3e
    	_ETIMEDOUT   = 0x91
    	_EWOULDBLOCK = 0xb
    	_EINPROGRESS = 0x96
    
    	_PROT_NONE  = 0x0
    	_PROT_READ  = 0x1
    	_PROT_WRITE = 0x2
    	_PROT_EXEC  = 0x4
    
    	_MAP_ANON    = 0x100
    	_MAP_PRIVATE = 0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:40:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/runtime/netpoll_solaris.go

    	r := port_getn(portfd, &events[0], uint32(len(events)), &n, wait)
    	e := errno()
    	if r < 0 && e == _ETIME && n > 0 {
    		// As per port_getn(3C), an ETIME failure does not preclude the
    		// delivery of some number of events.  Treat a timeout failure
    		// with delivered events as a success.
    		r = 0
    	}
    	if r < 0 {
    		if e != _EINTR && e != _ETIME {
    			print("runtime: port_getn on fd ", portfd, " failed (errno=", e, ")\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top