zig/lib/std/os
Zapolsky Anton 2dae860de3
Added an explicit type for the termios constants (#10266)
Adds the `tcflag_t` type to the termios constants.
This is made to allow bitwise operations on the termios
constants without an integer cast, e.g.:

```zig
var raw = try std.os.tcgetattr(std.os.STDIN_FILENO);
raw.lflag &= std.os.linux.ECHO | std.os.linux.ICANON;
```
instead of

```zig
var raw = try std.os.tcgetattr(std.os.STDIN_FILENO);
raw.lflag &= ~@intCast(u32, std.os.linux.ECHO | std.os.linux.ICANON);
```

Contributes to #10181
2021-12-04 16:24:55 -05:00
..
linux Merge pull request #9927 from vrischmann/fix-rlimit-resource 2021-12-03 16:45:55 -08:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi feat(uefi): add virtual addressing helpers (#10195) 2021-11-22 21:32:16 -05:00
windows migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
linux.zig Added an explicit type for the termios constants (#10266) 2021-12-04 16:24:55 -05:00
plan9.zig plan9: more syscalls 2021-11-09 07:08:27 -05:00
test.zig Merge pull request #9927 from vrischmann/fix-rlimit-resource 2021-12-03 16:45:55 -08:00
uefi.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
wasi.zig std.os fixes to get the test suite passing again 2021-09-01 17:54:07 -07:00
windows.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00