| ... | @@ -842,7 +842,7 @@ pub const termios = switch (native_os) { | ... | @@ -842,7 +842,7 @@ pub const termios = switch (native_os) { |
| 842 | | 842 | |
| 843 | pub const tc_iflag_t = switch (native_os) { | 843 | pub const tc_iflag_t = switch (native_os) { |
| 844 | .linux => std.os.linux.tc_iflag_t, | 844 | .linux => std.os.linux.tc_iflag_t, |
| 845 | .macos, .ios, .tvos, .watchos => packed struct(u32) { | 845 | .macos, .ios, .tvos, .watchos => packed struct(u64) { |
| 846 | IGNBRK: bool = false, | 846 | IGNBRK: bool = false, |
| 847 | BRKINT: bool = false, | 847 | BRKINT: bool = false, |
| 848 | IGNPAR: bool = false, | 848 | IGNPAR: bool = false, |
| ... | @@ -858,7 +858,7 @@ pub const tc_iflag_t = switch (native_os) { | ... | @@ -858,7 +858,7 @@ pub const tc_iflag_t = switch (native_os) { |
| 858 | _12: u1 = 0, | 858 | _12: u1 = 0, |
| 859 | IMAXBEL: bool = false, | 859 | IMAXBEL: bool = false, |
| 860 | IUTF8: bool = false, | 860 | IUTF8: bool = false, |
| 861 | _: u17 = 0, | 861 | _: u49 = 0, |
| 862 | }, | 862 | }, |
| 863 | .netbsd, .freebsd, .kfreebsd, .dragonfly => packed struct(u32) { | 863 | .netbsd, .freebsd, .kfreebsd, .dragonfly => packed struct(u32) { |
| 864 | IGNBRK: bool = false, | 864 | IGNBRK: bool = false, |
| ... | @@ -952,7 +952,7 @@ pub const tc_iflag_t = switch (native_os) { | ... | @@ -952,7 +952,7 @@ pub const tc_iflag_t = switch (native_os) { |
| 952 | | 952 | |
| 953 | pub const tc_oflag_t = switch (native_os) { | 953 | pub const tc_oflag_t = switch (native_os) { |
| 954 | .linux => std.os.linux.tc_oflag_t, | 954 | .linux => std.os.linux.tc_oflag_t, |
| 955 | .macos, .ios, .tvos, .watchos => packed struct(u32) { | 955 | .macos, .ios, .tvos, .watchos => packed struct(u64) { |
| 956 | OPOST: bool = false, | 956 | OPOST: bool = false, |
| 957 | ONLCR: bool = false, | 957 | ONLCR: bool = false, |
| 958 | OXTABS: bool = false, | 958 | OXTABS: bool = false, |
| ... | @@ -968,7 +968,7 @@ pub const tc_oflag_t = switch (native_os) { | ... | @@ -968,7 +968,7 @@ pub const tc_oflag_t = switch (native_os) { |
| 968 | BSDLY: u1 = 0, | 968 | BSDLY: u1 = 0, |
| 969 | VTDLY: u1 = 0, | 969 | VTDLY: u1 = 0, |
| 970 | OFDEL: bool = false, | 970 | OFDEL: bool = false, |
| 971 | _: u14 = 0, | 971 | _: u46 = 0, |
| 972 | }, | 972 | }, |
| 973 | .netbsd => packed struct(u32) { | 973 | .netbsd => packed struct(u32) { |
| 974 | OPOST: bool = false, | 974 | OPOST: bool = false, |
| ... | @@ -1049,7 +1049,7 @@ pub const CSIZE = switch (native_os) { | ... | @@ -1049,7 +1049,7 @@ pub const CSIZE = switch (native_os) { |
| 1049 | | 1049 | |
| 1050 | pub const tc_cflag_t = switch (native_os) { | 1050 | pub const tc_cflag_t = switch (native_os) { |
| 1051 | .linux => std.os.linux.tc_cflag_t, | 1051 | .linux => std.os.linux.tc_cflag_t, |
| 1052 | .macos, .ios, .tvos, .watchos => packed struct(u32) { | 1052 | .macos, .ios, .tvos, .watchos => packed struct(u64) { |
| 1053 | CIGNORE: bool = false, | 1053 | CIGNORE: bool = false, |
| 1054 | _1: u5 = 0, | 1054 | _1: u5 = 0, |
| 1055 | CSTOPB: bool = false, | 1055 | CSTOPB: bool = false, |
| ... | @@ -1066,7 +1066,7 @@ pub const tc_cflag_t = switch (native_os) { | ... | @@ -1066,7 +1066,7 @@ pub const tc_cflag_t = switch (native_os) { |
| 1066 | CDTR_IFLOW: bool = false, | 1066 | CDTR_IFLOW: bool = false, |
| 1067 | CDSR_OFLOW: bool = false, | 1067 | CDSR_OFLOW: bool = false, |
| 1068 | CCAR_OFLOW: bool = false, | 1068 | CCAR_OFLOW: bool = false, |
| 1069 | _: u11 = 0, | 1069 | _: u43 = 0, |
| 1070 | }, | 1070 | }, |
| 1071 | .freebsd, .kfreebsd => packed struct(u32) { | 1071 | .freebsd, .kfreebsd => packed struct(u32) { |
| 1072 | CIGNORE: bool = false, | 1072 | CIGNORE: bool = false, |
| ... | @@ -1185,7 +1185,31 @@ pub const tc_cflag_t = switch (native_os) { | ... | @@ -1185,7 +1185,31 @@ pub const tc_cflag_t = switch (native_os) { |
| 1185 | | 1185 | |
| 1186 | pub const tc_lflag_t = switch (native_os) { | 1186 | pub const tc_lflag_t = switch (native_os) { |
| 1187 | .linux => std.os.linux.tc_lflag_t, | 1187 | .linux => std.os.linux.tc_lflag_t, |
| 1188 | .macos, .ios, .tvos, .watchos, .netbsd, .freebsd, .kfreebsd, .dragonfly => packed struct(u32) { | 1188 | .macos, .ios, .tvos, .watchos => packed struct(u64) { |
| | 1189 | ECHOKE: bool = false, |
| | 1190 | ECHOE: bool = false, |
| | 1191 | ECHOK: bool = false, |
| | 1192 | ECHO: bool = false, |
| | 1193 | ECHONL: bool = false, |
| | 1194 | ECHOPRT: bool = false, |
| | 1195 | ECHOCTL: bool = false, |
| | 1196 | ISIG: bool = false, |
| | 1197 | ICANON: bool = false, |
| | 1198 | ALTWERASE: bool = false, |
| | 1199 | IEXTEN: bool = false, |
| | 1200 | EXTPROC: bool = false, |
| | 1201 | _12: u10 = 0, |
| | 1202 | TOSTOP: bool = false, |
| | 1203 | FLUSHO: bool = false, |
| | 1204 | _24: u1 = 0, |
| | 1205 | NOKERNINFO: bool = false, |
| | 1206 | _26: u3 = 0, |
| | 1207 | PENDIN: bool = false, |
| | 1208 | _30: u1 = 0, |
| | 1209 | NOFLSH: bool = false, |
| | 1210 | _: u32 = 0, |
| | 1211 | }, |
| | 1212 | .netbsd, .freebsd, .kfreebsd, .dragonfly => packed struct(u32) { |
| 1189 | ECHOKE: bool = false, | 1213 | ECHOKE: bool = false, |
| 1190 | ECHOE: bool = false, | 1214 | ECHOE: bool = false, |
| 1191 | ECHOK: bool = false, | 1215 | ECHOK: bool = false, |