# Use os.fd_t instead of i32 and assert against c_int for syscall safety · gitcafe/zig

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

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

Visibility: public

Requested revision: b672dc7abfe318623e88afd2e9ccaffbf38eb401

Requested commit: b672dc7abfe318623e88afd2e9ccaffbf38eb401

Commit: b672dc7abfe318623e88afd2e9ccaffbf38eb401

Tree: 7195a870ff9ac6863d2d9d83413c6255c935ddae

Author: Joran Dirk Greef

Committer: Joran Dirk Greef

## Message

```
Use os.fd_t instead of i32 and assert against c_int for syscall safety

```

## Parents

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

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