diff options
author | Roland McGrath <roland@gnu.org> | 2007-08-10 22:50:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2007-08-10 22:50:53 +0000 |
commit | 60968d0d090ccda6e231a88eeb10c1e1b845f613 (patch) | |
tree | 889a7b46011aa36ddabb1aed24ff6e537982847f /sysdeps/mach/hurd | |
parent | 673876e64783ee8de3b6ee6825ce293b6c8d5fb6 (diff) | |
download | glibc-60968d0d090ccda6e231a88eeb10c1e1b845f613.tar.gz |
2007-08-10 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY):
New macros.
(NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/bits/ioctls.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h index 06a73df75e..9e0b18e451 100644 --- a/sysdeps/mach/hurd/bits/ioctls.h +++ b/sysdeps/mach/hurd/bits/ioctls.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,93,96,97,98,99,2001 Free Software Foundation, Inc. +/* Copyright (C) 1992,93,96,97,98,99,2001,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -284,25 +284,30 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 }; #define ODDP 0x00000040 /* get/send odd parity */ #define EVENP 0x00000080 /* get/send even parity */ #define ANYP 0x000000c0 /* get any parity/send none */ -#define NLDELAY 0x00000300 /* \n delay */ +#define NLDLY 0x00000300 /* \n delay */ +#define NLDELAY NLDLY /* traditional BSD name */ #define NL0 0x00000000 #define NL1 0x00000100 /* tty 37 */ #define NL2 0x00000200 /* vt05 */ #define NL3 0x00000300 -#define TBDELAY 0x00000c00 /* horizontal tab delay */ +#define TABDLY 0x00000c00 /* horizontal tab delay */ +#define TBDELAY TABDLY /* traditional BSD name */ #define TAB0 0x00000000 #define TAB1 0x00000400 /* tty 37 */ #define TAB2 0x00000800 #define XTABS 0x00000c00 /* expand tabs on output */ -#define CRDELAY 0x00003000 /* \r delay */ +#define CRDLY 0x00003000 /* \r delay */ +#define CRDELAY CRDLY /* traditional BSD name */ #define CR0 0x00000000 #define CR1 0x00001000 /* tn 300 */ #define CR2 0x00002000 /* tty 37 */ #define CR3 0x00003000 /* concept 100 */ -#define VTDELAY 0x00004000 /* vertical tab delay */ +#define VTDLY 0x00004000 /* vertical tab delay */ +#define VTDELAY VTDLY /* traditional BSD name */ #define FF0 0x00000000 #define FF1 0x00004000 /* tty 37 */ -#define BSDELAY 0x00008000 /* \b delay */ +#define BSDLY 0x00008000 /* \b delay */ +#define BSDELAY BSDLY /* traditional BSD name */ #define BS0 0x00000000 #define BS1 0x00008000 #define ALLDELAY (NLDELAY|TBDELAY|CRDELAY|VTDELAY|BSDELAY) |