# std.os.termios: add type safety to cflag field · gitcafe/zig

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

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

Visibility: public

Requested revision: e97fa8b03803dfb5d2046d9b2ebecbee85a0e1f9

Requested commit: e97fa8b03803dfb5d2046d9b2ebecbee85a0e1f9

Commit: e97fa8b03803dfb5d2046d9b2ebecbee85a0e1f9

Tree: f7bf8e4ae4b742fa7eaae4eb4150e2b35a883257

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.os.termios: add type safety to cflag field

This creates `tc_cflag_t` even though such a type is not defined by
libc.

I also collected the missing flag bits from all the operating systems.

```

## Parents

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

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