Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for ERANGE (0.26 sec)

  1. 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