Finish correcting ioctl(2) interfaces on musl/ppc64

Last commit fixed the function definition but not the constants.  Oops.
This commit is contained in:
A. Wilcox 2018-10-26 00:33:18 -05:00
parent 87f4acb237
commit 914eba137b
No known key found for this signature in database
GPG Key ID: CB29CB51922B9D14

View File

@ -435,8 +435,8 @@ pub const SYS_preadv2: ::c_long = 380;
pub const SYS_pwritev2: ::c_long = 381;
pub const SYS_kexec_file_load: ::c_long = 382;
pub const FIOCLEX: ::c_ulong = 0x20006601;
pub const FIONBIO: ::c_ulong = 0x8004667e;
pub const FIOCLEX: ::c_int = 0x20006601;
pub const FIONBIO: ::c_int = 0x8004667e;
pub const EDEADLK: ::c_int = 58;
pub const EDEADLOCK: ::c_int = EDEADLK;
pub const SO_PASSCRED: ::c_int = 20;
@ -452,52 +452,52 @@ pub const VMIN: usize = 5;
pub const IEXTEN: ::tcflag_t = 0x00000400;
pub const TOSTOP: ::tcflag_t = 0x00400000;
pub const FLUSHO: ::tcflag_t = 0x00800000;
pub const TCGETS: ::c_ulong = 0x403c7413;
pub const TCSETS: ::c_ulong = 0x803c7414;
pub const TCSETSW: ::c_ulong = 0x803c7415;
pub const TCSETSF: ::c_ulong = 0x803c7416;
pub const TCGETA: ::c_ulong = 0x40147417;
pub const TCSETA: ::c_ulong = 0x80147418;
pub const TCSETAW: ::c_ulong = 0x80147419;
pub const TCSETAF: ::c_ulong = 0x8014741c;
pub const TCSBRK: ::c_ulong = 0x2000741d;
pub const TCXONC: ::c_ulong = 0x2000741e;
pub const TCFLSH: ::c_ulong = 0x2000741f;
pub const TIOCGSOFTCAR: ::c_ulong = 0x5419;
pub const TIOCSSOFTCAR: ::c_ulong = 0x541A;
pub const TIOCLINUX: ::c_ulong = 0x541C;
pub const TIOCGSERIAL: ::c_ulong = 0x541E;
pub const TIOCEXCL: ::c_ulong = 0x540C;
pub const TIOCNXCL: ::c_ulong = 0x540D;
pub const TIOCSCTTY: ::c_ulong = 0x540E;
pub const TIOCGPGRP: ::c_ulong = 0x40047477;
pub const TIOCSPGRP: ::c_ulong = 0x80047476;
pub const TIOCOUTQ: ::c_ulong = 0x40047473;
pub const TIOCGWINSZ: ::c_ulong = 0x40087468;
pub const TIOCSWINSZ: ::c_ulong = 0x80087467;
pub const TIOCMGET: ::c_ulong = 0x5415;
pub const TIOCMBIS: ::c_ulong = 0x5416;
pub const TIOCMBIC: ::c_ulong = 0x5417;
pub const TIOCMSET: ::c_ulong = 0x5418;
pub const FIONREAD: ::c_ulong = 0x4004667f;
pub const TIOCCONS: ::c_ulong = 0x541D;
pub const TIOCM_LE: ::c_ulong = 0x001;
pub const TIOCM_DTR: ::c_ulong = 0x002;
pub const TIOCM_RTS: ::c_ulong = 0x004;
pub const TIOCM_ST: ::c_ulong = 0x008;
pub const TIOCM_SR: ::c_ulong = 0x010;
pub const TIOCM_CTS: ::c_ulong = 0x020;
pub const TIOCM_CAR: ::c_ulong = 0x040;
pub const TIOCM_RNG: ::c_ulong = 0x080;
pub const TIOCM_DSR: ::c_ulong = 0x100;
pub const TIOCM_CD: ::c_ulong = TIOCM_CAR;
pub const TIOCM_RI: ::c_ulong = TIOCM_RNG;
pub const TCGETS: ::c_int = 0x403c7413;
pub const TCSETS: ::c_int = 0x803c7414;
pub const TCSETSW: ::c_int = 0x803c7415;
pub const TCSETSF: ::c_int = 0x803c7416;
pub const TCGETA: ::c_int = 0x40147417;
pub const TCSETA: ::c_int = 0x80147418;
pub const TCSETAW: ::c_int = 0x80147419;
pub const TCSETAF: ::c_int = 0x8014741c;
pub const TCSBRK: ::c_int = 0x2000741d;
pub const TCXONC: ::c_int = 0x2000741e;
pub const TCFLSH: ::c_int = 0x2000741f;
pub const TIOCGSOFTCAR: ::c_int = 0x5419;
pub const TIOCSSOFTCAR: ::c_int = 0x541A;
pub const TIOCLINUX: ::c_int = 0x541C;
pub const TIOCGSERIAL: ::c_int = 0x541E;
pub const TIOCEXCL: ::c_int = 0x540C;
pub const TIOCNXCL: ::c_int = 0x540D;
pub const TIOCSCTTY: ::c_int = 0x540E;
pub const TIOCGPGRP: ::c_int = 0x40047477;
pub const TIOCSPGRP: ::c_int = 0x80047476;
pub const TIOCOUTQ: ::c_int = 0x40047473;
pub const TIOCGWINSZ: ::c_int = 0x40087468;
pub const TIOCSWINSZ: ::c_int = 0x80087467;
pub const TIOCMGET: ::c_int = 0x5415;
pub const TIOCMBIS: ::c_int = 0x5416;
pub const TIOCMBIC: ::c_int = 0x5417;
pub const TIOCMSET: ::c_int = 0x5418;
pub const FIONREAD: ::c_int = 0x4004667f;
pub const TIOCCONS: ::c_int = 0x541D;
pub const TIOCM_LE: ::c_int = 0x001;
pub const TIOCM_DTR: ::c_int = 0x002;
pub const TIOCM_RTS: ::c_int = 0x004;
pub const TIOCM_ST: ::c_int = 0x008;
pub const TIOCM_SR: ::c_int = 0x010;
pub const TIOCM_CTS: ::c_int = 0x020;
pub const TIOCM_CAR: ::c_int = 0x040;
pub const TIOCM_RNG: ::c_int = 0x080;
pub const TIOCM_DSR: ::c_int = 0x100;
pub const TIOCM_CD: ::c_int = TIOCM_CAR;
pub const TIOCM_RI: ::c_int = TIOCM_RNG;
pub const TIOCGRS485: ::c_ulong = 0x542E;
pub const TIOCSRS485: ::c_ulong = 0x542F;
pub const TIOCGRS485: ::c_int = 0x542E;
pub const TIOCSRS485: ::c_int = 0x542F;
pub const RLIMIT_NLIMITS: ::c_int = 15;
pub const TIOCINQ: ::c_ulong = ::FIONREAD;
pub const TIOCINQ: ::c_int = ::FIONREAD;
pub const MCL_CURRENT: ::c_int = 0x2000;
pub const MCL_FUTURE: ::c_int = 0x4000;
pub const CBAUD: ::tcflag_t = 0xff;