@@ -153,6 +153,31 @@ Word wasi_unstable_sched_yield();
153153Word wasi_unstable_poll_oneoff (Word in, Word out, Word nsubscriptions, Word nevents);
154154void wasi_unstable_proc_exit (Word);
155155Word wasi_unstable_clock_time_get (Word, uint64_t , Word);
156+ Word wasi_unstable_clock_res_get (Word, Word);
157+ Word wasi_unstable_fd_advise (Word, uint64_t , uint64_t , Word);
158+ Word wasi_unstable_fd_allocate (Word, uint64_t , uint64_t );
159+ Word wasi_unstable_fd_datasync (Word);
160+ Word wasi_unstable_fd_fdstat_set_rights (Word, uint64_t , uint64_t );
161+ Word wasi_unstable_fd_filestat_set_size (Word, uint64_t );
162+ Word wasi_unstable_fd_filestat_set_times (Word, uint64_t , uint64_t , Word);
163+ Word wasi_unstable_fd_pread (Word, Word, Word, uint64_t , Word);
164+ Word wasi_unstable_fd_pwrite (Word, Word, Word, uint64_t , Word);
165+ Word wasi_unstable_fd_readdir (Word, Word, Word, uint64_t , Word);
166+ Word wasi_unstable_fd_renumber (Word, Word);
167+ Word wasi_unstable_fd_sync (Word);
168+ Word wasi_unstable_fd_tell (Word, Word);
169+ Word wasi_unstable_path_create_directory (Word, Word, Word);
170+ Word wasi_unstable_path_filestat_set_times (Word, Word, Word, Word, uint64_t , uint64_t , Word);
171+ Word wasi_unstable_path_link (Word, Word, Word, Word, Word, Word);
172+ Word wasi_unstable_path_readlink (Word, Word, Word, Word, Word, Word);
173+ Word wasi_unstable_path_remove_directory (Word, Word, Word);
174+ Word wasi_unstable_path_rename (Word, Word, Word, Word, Word);
175+ Word wasi_unstable_path_symlink (Word, Word, Word, Word);
176+ Word wasi_unstable_path_unlink_file (Word, Word, Word);
177+ Word wasi_unstable_sock_accept (Word, Word, Word);
178+ Word wasi_unstable_sock_recv (Word, Word, Word, Word, Word, Word);
179+ Word wasi_unstable_sock_send (Word, Word, Word, Word, Word);
180+ Word wasi_unstable_sock_shutdown (Word, Word);
156181Word wasi_unstable_random_get (Word, Word);
157182Word pthread_equal (Word left, Word right);
158183void emscripten_notify_memory_growth (Word);
@@ -181,9 +206,15 @@ Word wasi_unstable_path_filestat_get(Word fd, Word flags, Word path, Word path_l
181206
182207#define FOR_ALL_WASI_FUNCTIONS (_f ) \
183208 _f (fd_write) _f(fd_read) _f(fd_seek) _f(fd_close) _f(fd_fdstat_get) _f(fd_fdstat_set_flags) \
184- _f (environ_get) _f(environ_sizes_get) _f(args_get) _f(args_sizes_get) _f(clock_time_get) \
185- _f (random_get) _f(sched_yield) _f(poll_oneoff) _f(proc_exit) _f(path_open) \
186- _f (fd_prestat_get) _f(fd_prestat_dir_name) _f(path_filestat_get) _f(fd_filestat_get)
209+ _f (fd_fdstat_set_rights) _f(environ_get) _f(environ_sizes_get) _f(args_get) _f(args_sizes_get) \
210+ _f (clock_time_get) _f(clock_res_get) _f(fd_advise) _f(fd_allocate) _f(fd_datasync) \
211+ _f (fd_filestat_set_size) _f(fd_filestat_set_times) _f(fd_pread) _f(fd_pwrite) \
212+ _f (fd_readdir) _f(fd_renumber) _f(fd_sync) _f(fd_tell) _f(path_create_directory) \
213+ _f (path_filestat_set_times) _f(path_link) _f(path_readlink) _f(path_remove_directory) \
214+ _f (path_rename) _f(path_symlink) _f(path_unlink_file) _f(sock_accept) \
215+ _f (sock_recv) _f(sock_send) _f(sock_shutdown) _f(random_get) _f(sched_yield) \
216+ _f (poll_oneoff) _f(proc_exit) _f(path_open) _f(fd_prestat_get) \
217+ _f (fd_prestat_dir_name) _f(path_filestat_get) _f(fd_filestat_get)
187218
188219// Helpers to generate a stub to pass to VM, in place of a restricted proxy-wasm capability.
189220#define _CREATE_PROXY_WASM_STUB (_fn ) \
0 commit comments