# WASI: implement argsAlloc and argsFree \(\#2364\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 01365be82fb413061d052c2ecdb761d24d73125d

Requested commit: 01365be82fb413061d052c2ecdb761d24d73125d

Commit: 01365be82fb413061d052c2ecdb761d24d73125d

Tree: 87273e3249f22d624c55cfe0eab7a0ca38912078

Author: Shritesh Bhattarai

Committer: Andrew Kelley

## Message

```
WASI: implement argsAlloc and argsFree (#2364)

* wasi: change URL to canon WASI-core.md

* wasi: import args_get and args_sizes_get

* wasi: Implement argsAlloc and argsFree

* test return value for wasi arg syscalls

* wasi: return unexpectedErrorPosix in argsAlloc

* wasi: Add TODO for ArgIterator

```

## Parents

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

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