Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Side by Side Diff: fusl/include/sys/ttydefaults.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/sys/timex.h ('k') | fusl/include/sys/types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _SYS_TTYDEFAULTS_H
2 #define _SYS_TTYDEFAULTS_H
3
4 #define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
5 #define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
6 #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
7 #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
8 #define TTYDEF_SPEED (B9600)
9 #define CTRL(x) (x&037)
10 #define CEOF CTRL('d')
11
12 #ifdef _POSIX_VDISABLE
13 #define CEOL _POSIX_VDISABLE
14 #define CSTATUS _POSIX_VDISABLE
15 #else
16 #define CEOL '\0'
17 #define CSTATUS '\0'
18 #endif
19
20 #define CERASE 0177
21 #define CINTR CTRL('c')
22 #define CKILL CTRL('u')
23 #define CMIN 1
24 #define CQUIT 034
25 #define CSUSP CTRL('z')
26 #define CTIME 0
27 #define CDSUSP CTRL('y')
28 #define CSTART CTRL('q')
29 #define CSTOP CTRL('s')
30 #define CLNEXT CTRL('v')
31 #define CDISCARD CTRL('o')
32 #define CWERASE CTRL('w')
33 #define CREPRINT CTRL('r')
34 #define CEOT CEOF
35 #define CBRK CEOL
36 #define CRPRNT CREPRINT
37 #define CFLUSH CDISCARD
38
39 #endif
OLDNEW
« no previous file with comments | « fusl/include/sys/timex.h ('k') | fusl/include/sys/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698