Skip to content
Snippets Groups Projects
Commit c7011f43 authored by Dan Gohman's avatar Dan Gohman
Browse files

Declare `seekdir` and `telldir` for WASI.

These declarations are the same as those for other platforms.
parent b973845b
No related branches found
No related tags found
No related merge requests found
......@@ -515,6 +515,8 @@ extern "C" {
pub fn closedir(dirp: *mut ::DIR) -> ::c_int;
pub fn rewinddir(dirp: *mut ::DIR);
pub fn dirfd(dirp: *mut ::DIR) -> ::c_int;
pub fn seekdir(dirp: *mut ::DIR, loc: ::c_long);
pub fn telldir(dirp: *mut ::DIR) -> ::c_long;
pub fn openat(
dirfd: ::c_int,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment