# cleanups · gitcafe/zig

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

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

Visibility: public

Requested revision: 7fd937fef4547a98d7c33ea67eca76e6336f9152

Requested commit: 7fd937fef4547a98d7c33ea67eca76e6336f9152

Commit: 7fd937fef4547a98d7c33ea67eca76e6336f9152

Tree: 9122d4a2eab8b9deef81e089cecee0e7699a08fa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
cleanups

 * improve docs
 * add TODO comments for things that don't have open issues
 * remove redundant namespacing of struct fields
 * guard against ioctl returning EINTR
 * remove the general std.os.ioctl function in favor of the specific
   ioctl_SIOCGIFINDEX function. This allows us to have a more precise
   error set, and more type-safe API.

```

## Parents

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

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