zig/lib/std/c
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
..
darwin.zig Added an explicit type for the termios constants (#10266) 2021-12-04 16:24:55 -05:00
dragonfly.zig dragonfly: port std.Thread.setname/getname 2021-10-09 03:52:28 -04:00
emscripten.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
freebsd.zig Set the Storage socket sizes to be system defined 2021-09-16 13:32:55 +03:00
fuchsia.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
haiku.zig haiku follow up cleanup of constants 2021-11-19 22:04:09 -06:00
hermit.zig std: reorganization that allows new usingnamespace semantics 2021-09-01 17:54:06 -07:00
linux.zig Fixes invalid errno definition for ***-linux-android 2021-11-18 12:58:28 -05:00
minix.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
netbsd.zig Set the Storage socket sizes to be system defined 2021-09-16 13:32:55 +03:00
openbsd.zig Added an explicit type for the termios constants (#10266) 2021-12-04 16:24:55 -05:00
solaris.zig std: expose rusage constants under rusage namespace 2021-11-01 15:55:22 -07:00
tokenizer.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
wasi.zig std.os fixes to get the test suite passing again 2021-09-01 17:54:07 -07:00
windows.zig os: usingnamespace fixes for std.x.os.Socket and std.os.TCP 2021-09-12 23:36:44 -04:00