authorgravatar for dante.catalfamo@gmail.comDante Catalfamo <dante.catalfamo@gmail.com> 2021-11-19 12:40:48-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-11-21 16:43:16-05:00
log12140ead432c24ed68600b95c2252c7619b5d658
tree54129ed78adf0a0a20a6bb962f79f5ad5c032188
parent05330bbe0ddd3057a1badea92a7823a2b1f4d68a

Change darwin c.VMIN -> c.V.MIN to match Linux


1 files changed, 21 insertions(+), 18 deletions(-)

lib/std/c/darwin.zig+21-18
......@@ -1765,24 +1765,27 @@ pub const SHUT = struct {
17651765};
17661766
17671767// Term
1768pub const VEOF = 0;
1769pub const VEOL = 1;
1770pub const VEOL2 = 2;
1771pub const VERASE = 3;
1772pub const VWERASE = 4;
1773pub const VKILL = 5;
1774pub const VREPRINT = 6;
1775pub const VINTR = 8;
1776pub const VQUIT = 9;
1777pub const VSUSP = 10;
1778pub const VDSUSP = 11;
1779pub const VSTART = 12;
1780pub const VSTOP = 13;
1781pub const VLNEXT = 14;
1782pub const VDISCARD = 15;
1783pub const VMIN = 16;
1784pub const VTIME = 17;
1785pub const VSTATUS = 18;
1768pub const V = struct {
1769 pub const EOF = 0;
1770 pub const EOL = 1;
1771 pub const EOL2 = 2;
1772 pub const ERASE = 3;
1773 pub const WERASE = 4;
1774 pub const KILL = 5;
1775 pub const REPRINT = 6;
1776 pub const INTR = 8;
1777 pub const QUIT = 9;
1778 pub const SUSP = 10;
1779 pub const DSUSP = 11;
1780 pub const START = 12;
1781 pub const STOP = 13;
1782 pub const LNEXT = 14;
1783 pub const DISCARD = 15;
1784 pub const MIN = 16;
1785 pub const TIME = 17;
1786 pub const STATUS = 18;
1787};
1788
17861789pub const NCCS = 20; // 2 spares (7, 19)
17871790
17881791pub const IGNBRK = 0x00000001; // ignore BREAK condition