Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for open_node (0.08 sec)

  1. src/syscall/fs_wasip1.go

    }
    
    func Open(path string, openmode int, perm uint32) (int, error) {
    	if path == "" {
    		return -1, EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    
    	var oflags oflags
    	if (openmode & O_CREATE) != 0 {
    		oflags |= OFLAG_CREATE
    	}
    	if (openmode & O_TRUNC) != 0 {
    		oflags |= OFLAG_TRUNC
    	}
    	if (openmode & O_EXCL) != 0 {
    		oflags |= OFLAG_EXCL
    	}
    
    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