# Implement fstatat targeting WASI · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/be78b7b648fdda7e0b052aa96eb4551edc64ef18)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: be78b7b648fdda7e0b052aa96eb4551edc64ef18

Requested commit: be78b7b648fdda7e0b052aa96eb4551edc64ef18

Commit: be78b7b648fdda7e0b052aa96eb4551edc64ef18

Tree: 6d6a3ac789fc59928d196b47a6920aaebae40dca

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Implement fstatat targeting WASI

Also, add more informative `@compileError` in a few `std.os` functions
that would otherwise yield a cryptic compile error when targeting
WASI. Finally, enhance docs in a few places and add test case for
`fstatat`.

```

## Parents

- [2c7fc1c5c504af9dd22d5ac21ecc6773e263e395](https://git.cafe/gitcafe/zig/commit/2c7fc1c5c504af9dd22d5ac21ecc6773e263e395?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/be78b7b648fdda7e0b052aa96eb4551edc64ef18?format=markdown)
