Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ERANGE (0.11 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. src/os/file_unix.go

    		)
    		for {
    			n, e = fixCount(syscall.Readlink(name, b))
    			if e != syscall.EINTR {
    				break
    			}
    		}
    		// buffer too small
    		if (runtime.GOOS == "aix" || runtime.GOOS == "wasip1") && e == syscall.ERANGE {
    			continue
    		}
    		if e != nil {
    			return "", &PathError{Op: "readlink", Path: name, Err: e}
    		}
    		if n < len {
    			return string(b[0:n]), nil
    		}
    	}
    }
    
    type unixDirent struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/syscall/syscall_aix.go

    		b := make([]byte, len)
    		err := getcwd(&b[0], len)
    		if err == nil {
    			i := 0
    			for b[i] != 0 {
    				i++
    			}
    			return string(b[0:i]), nil
    		}
    		if err != ERANGE {
    			return "", err
    		}
    	}
    }
    
    func Getcwd(buf []byte) (n int, err error) {
    	err = getcwd(&buf[0], uint64(len(buf)))
    	if err == nil {
    		i := 0
    		for buf[i] != 0 {
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	AT_EMPTY_PATH                   = 0x1000
    	AT_REMOVEDIR                    = 0x200
    	RENAME_NOREPLACE                = 1 << 0
    )
    
    const (
    	EDOM               = Errno(1)
    	ERANGE             = Errno(2)
    	EACCES             = Errno(111)
    	EAGAIN             = Errno(112)
    	EBADF              = Errno(113)
    	EBUSY              = Errno(114)
    	ECHILD             = Errno(115)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/syscall/fs_wasip1.go

    	var nwritten size
    	errno := path_readlink(
    		dirFd,
    		pathPtr,
    		pathLen,
    		unsafe.Pointer(&buf[0]),
    		size(len(buf)),
    		unsafe.Pointer(&nwritten),
    	)
    	// For some reason wasmtime returns ERANGE when the output buffer is
    	// shorter than the symbolic link value. os.Readlink expects a nil
    	// error and uses the fact that n is greater or equal to the buffer
    	// length to assume that it needs to try again with a larger size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top