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

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

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 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
OLDNEW
1 #ifndef _SYS_TTYDEFAULTS_H 1 #ifndef _SYS_TTYDEFAULTS_H
2 #define _SYS_TTYDEFAULTS_H 2 #define _SYS_TTYDEFAULTS_H
3 3
4 #define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY) 4 #define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
5 #define TTYDEF_OFLAG (OPOST | ONLCR | XTABS) 5 #define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
6 #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL) 6 #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE | ECHOKE | ECHOCTL)
7 #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL) 7 #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
8 #define TTYDEF_SPEED (B9600) 8 #define TTYDEF_SPEED (B9600)
9 #define CTRL(x) (x&037) 9 #define CTRL(x) (x & 037)
10 #define CEOF CTRL('d') 10 #define CEOF CTRL('d')
11 11
12 #ifdef _POSIX_VDISABLE 12 #ifdef _POSIX_VDISABLE
13 #define CEOL _POSIX_VDISABLE 13 #define CEOL _POSIX_VDISABLE
14 #define CSTATUS _POSIX_VDISABLE 14 #define CSTATUS _POSIX_VDISABLE
15 #else 15 #else
16 #define CEOL '\0' 16 #define CEOL '\0'
17 #define CSTATUS '\0' 17 #define CSTATUS '\0'
18 #endif 18 #endif
19 19
(...skipping 10 matching lines...) Expand all
30 #define CLNEXT CTRL('v') 30 #define CLNEXT CTRL('v')
31 #define CDISCARD CTRL('o') 31 #define CDISCARD CTRL('o')
32 #define CWERASE CTRL('w') 32 #define CWERASE CTRL('w')
33 #define CREPRINT CTRL('r') 33 #define CREPRINT CTRL('r')
34 #define CEOT CEOF 34 #define CEOT CEOF
35 #define CBRK CEOL 35 #define CBRK CEOL
36 #define CRPRNT CREPRINT 36 #define CRPRNT CREPRINT
37 #define CFLUSH CDISCARD 37 #define CFLUSH CDISCARD
38 38
39 #endif 39 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698