# feat\(libzigc\): add \`wcstok\` and reuse more \`std.mem\` code · gitcafe/zig

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

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

Visibility: public

Requested revision: 06d05decaecb1dc5ad070b01c358f76e33095f71

Requested commit: 06d05decaecb1dc5ad070b01c358f76e33095f71

Commit: 06d05decaecb1dc5ad070b01c358f76e33095f71

Tree: c8417bd03100bb00955cf1827e146a6db8d18f8c

Author: GasInfinity

Committer: GasInfinity

## Message

```
feat(libzigc): add `wcstok` and reuse more `std.mem` code

* also makes `wcpncpy`/`wcsncpy` pad the buffer with zeroes as required
  by the standard

```

## Parents

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

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