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

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

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

Visibility: public

Requested revision: a280ff2767cbb8da1a10d70eaddb0d6c0730443f

Requested commit: a280ff2767cbb8da1a10d70eaddb0d6c0730443f

Commit: a280ff2767cbb8da1a10d70eaddb0d6c0730443f

Tree: e1355608beacddcecd71dbc8e732b45df7c18492

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.os.termios: add type safety to lflag 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

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

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