summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-25 05:03:40 +0800
committerGitHub <noreply@github.com>2020-06-24 17:03:40 -0400
commitf39c890714ad4479b42be8f24ffda185a062bd16 (patch)
tree927eb64baf5be68bf6b86f6e04dcd61eff5801d8
parent062086260520c2a24bfd8e840295ecd0f55120af (diff)
doc(std/wasi) add a list of supported syscalls (#6460)
-rw-r--r--std/wasi/README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/std/wasi/README.md b/std/wasi/README.md
index 27a7fdbef..137f0762a 100644
--- a/std/wasi/README.md
+++ b/std/wasi/README.md
@@ -4,6 +4,54 @@ This module provides an implementation of the WebAssembly System Interface
## Supported Syscalls
+### wasi_snapshot_preview1
+
+- [x] args_get
+- [x] args_sizes_get
+- [x] environ_get
+- [x] environ_sizes_get
+- [x] clock_res_get
+- [x] clock_time_get
+- [ ] fd_advise
+- [ ] fd_allocate
+- [x] fd_close
+- [ ] fd_datasync
+- [x] fd_fdstat_get
+- [ ] fd_fdstat_set_flags
+- [ ] fd_fdstat_set_rights
+- [ ] fd_filestat_get
+- [ ] fd_filestat_set_size
+- [x] fd_filestat_set_times
+- [x] fd_pread
+- [x] fd_prestat_get
+- [x] fd_prestat_dir_name
+- [x] fd_pwrite
+- [x] fd_read
+- [ ] fd_readdir
+- [x] fd_renumber
+- [x] fd_seek
+- [ ] fd_sync
+- [x] fd_tell
+- [x] fd_write
+- [x] path_create_directory
+- [x] path_filestat_get
+- [x] path_filestat_set_times
+- [x] path_link
+- [x] path_open
+- [x] path_readlink
+- [x] path_remove_directory
+- [x] path_rename
+- [x] path_symlink
+- [x] path_unlink_file
+- [x] poll_oneoff
+- [x] proc_exit
+- [ ] proc_raise
+- [ ] sched_yield
+- [x] random_get
+- [ ] sock_recv
+- [ ] sock_send
+- [ ] sock_shutdown
+
## Usage
```typescript