Definitions for c_cflag etc. in termbits.h???

Wolfgang Denk wd at denx.de
Sat Jan 11 02:25:32 EST 2003


Hi Steven,

in message <3E1EE23F.5BC310F3 at imc-berlin.de> you wrote:
>
> E.g. the DEFINEs of c_iflags appear to me as decimal values!?
>
> /* c_iflag bits */
> #define IGNBRK  0000001
> #define BRKINT  0000002
> #define IGNPAR  0000004
> #define PARMRK  0000010
> #define INPCK   0000020
> #define ISTRIP  0000040
> #define INLCR   0000100
> #define IGNCR   0000200
> #define ICRNL   0000400
> #define IXON    0001000
> #define IXOFF   0002000
> #define IXANY   0004000
> #define IUCLC   0010000
> #define IMAXBEL 0020000

No, these are octal values, of course.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list