- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for open_node (0.14 sec)
-
src/syscall/fs_js.go
} return f, nil } func Open(path string, openmode int, perm uint32) (int, error) { if err := checkPath(path); err != nil { return 0, err } flags := 0 if openmode&O_WRONLY != 0 { flags |= nodeWRONLY } if openmode&O_RDWR != 0 { flags |= nodeRDWR } if openmode&O_CREATE != 0 { flags |= nodeCREATE } if openmode&O_TRUNC != 0 { flags |= nodeTRUNC }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 11 18:19:17 UTC 2023 - 10.8K bytes - Viewed (0) -
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)