We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{D,R}SYNC
NONBLOCK
1 parent b86467f commit 9e7667fCopy full SHA for 9e7667f
src/syscall/syscall_libc_wasi.go
@@ -55,6 +55,9 @@ const (
55
__WASI_OFLAGS_TRUNC = 8
56
57
__WASI_FDFLAGS_APPEND = 1
58
+ __WASI_FDFLAGS_DSYNC = 2
59
+ __WASI_FDFLAGS_NONBLOCK = 4
60
+ __WASI_FDFLAGS_RSYNC = 8
61
__WASI_FDFLAGS_SYNC = 16
62
63
O_RDONLY = 0x04000000
@@ -66,6 +69,9 @@ const (
66
69
O_EXCL = __WASI_OFLAGS_EXCL << 12
67
70
68
71
O_APPEND = __WASI_FDFLAGS_APPEND
72
+ O_DSYNC = __WASI_FDFLAGS_DSYNC
73
+ O_NONBLOCK = __WASI_FDFLAGS_NONBLOCK
74
+ O_RSYNC = __WASI_FDFLAGS_RSYNC
75
O_SYNC = __WASI_FDFLAGS_SYNC
76
77
O_CLOEXEC = 0
0 commit comments