OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sysvi386/] [sys/] [termio.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#ifndef _SYS_TERMIO_H
2
# define _SYS_TERMIO_H
3
 
4
# define TCGETA (('T'<<8)|1)
5
# define TCSBRK (('T'<<8)|5)
6
# define NCC 8
7
 
8
# define IGNBRK 000001
9
# define BRKINT 000002
10
# define IGNPAR 000004
11
# define INPCK  000020
12
# define ISTRIP 000040
13
# define INLCR  000100
14
# define IGNCR  000200
15
# define ICRNL  000400
16
# define IXON   002000
17
# define IXOFF  010000
18
 
19
# define OPOST  000001
20
# define OCRNL  000004
21
# define ONLCR  000010
22
# define ONOCR  000020
23
# define TAB3   014000
24
 
25
# define CLOCAL 004000
26
# define CREAD  000200
27
# define CSIZE  000060
28
# define CS5    0
29
# define CS6    020
30
# define CS7    040
31
# define CS8    060
32
# define CSTOPB 000100
33
# define HUPCL  002000
34
# define PARENB 000400
35
# define PAODD  001000
36
 
37
# define ECHO   0000010
38
# define ECHOE  0000020
39
# define ECHOK  0000040
40
# define ECHONL 0000100
41
# define ICANON 0000002
42
# define IEXTEN 0000400 /* anybody know *what* this does?! */
43
# define ISIG   0000001
44
# define NOFLSH 0000200
45
 
46
# define VEOF   4       /* also VMIN -- thanks, AT&T */
47
# define VEOL   5       /* also VTIME -- thanks again */
48
# define VERASE 2
49
# define VINTR  0
50
# define VKILL  3
51
# define VMIN   4       /* also VEOF */
52
# define VQUIT  1
53
# define VTIME  5       /* also VEOL */
54
 
55
# define B0     000000
56
# define B50    000001
57
# define B75    000002
58
# define B110   000003
59
# define B134   000004
60
# define B150   000005
61
# define B200   000006
62
# define B300   000007
63
# define B600   000010
64
# define B1200  000011
65
# define B1800  000012
66
# define B2400  000013
67
# define B4800  000014
68
# define B9600  000015
69
# define B19200 000016
70
# define B38400 000017
71
 
72
struct termio {
73
        unsigned short  c_iflag;
74
        unsigned short  c_oflag;
75
        unsigned short  c_cflag;
76
        unsigned short  c_lflag;
77
        char            c_line;
78
        unsigned char   c_cc[NCC];
79
};
80
 
81
#endif  /* _SYS_TERMIO_H */
82
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.