Feature #1060 » cfmakeraw.diff
usr/src/grub/grub-0.97/grub/asmstub.c Fri Jun 03 11:40:03 2011 -0400 → usr/src/grub/grub-0.97/grub/asmstub.c Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
1135 | 1135 |
goto fail; |
1136 | 1136 | |
1137 | 1137 |
/* Raw mode. */ |
1138 |
#if defined(__sun) |
|
1139 |
termios.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); |
|
1140 |
termios.c_oflag &= ~OPOST; |
|
1141 |
termios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); |
|
1142 |
termios.c_cflag &= ~(CSIZE|PARENB); |
|
1143 |
termios.c_cflag |= CS8; |
|
1144 |
#else |
|
1145 | 1138 |
cfmakeraw (&termios); |
1146 |
#endif |
|
1147 | 1139 | |
1148 | 1140 |
/* Set the speed. */ |
1149 | 1141 |
termios_speed = get_termios_speed (speed); |
usr/src/lib/c_synonyms/syn_common Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/c_synonyms/syn_common Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
179 | 179 |
cfgetospeed |
180 | 180 |
cfsetispeed |
181 | 181 |
cfsetospeed |
182 |
cfmakeraw |
|
182 | 183 |
cftime |
183 | 184 |
chdir |
184 | 185 |
chmod |
usr/src/lib/libbc/inc/include/sys/termios.h Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libbc/inc/include/sys/termios.h Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
263 | 263 |
speed_t cfgetospeed(/* struct termios *termios_p */); |
264 | 264 |
int cfsetispeed(/* struct termios *termios_p, speed_t speed */); |
265 | 265 |
int cfsetospeed(/* struct termios *termios_p, speed_t speed */); |
266 |
void cfmakeraw(/* struct termios *termios_p */); |
|
266 | 267 |
int tcdrain(/* int fildes */); |
267 | 268 |
int tcflow(/* int fildes, int action */); |
268 | 269 |
int tcflush(/* int fildes, int queue_selector */); |
usr/src/lib/libbc/inc/include/termios.h Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libbc/inc/include/termios.h Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
263 | 263 |
speed_t cfgetospeed(/* struct termios *termios_p */); |
264 | 264 |
int cfsetispeed(/* struct termios *termios_p, speed_t speed */); |
265 | 265 |
int cfsetospeed(/* struct termios *termios_p, speed_t speed */); |
266 |
void cfmakeraw(/* struct termios *termios_p */); |
|
266 | 267 |
int tcdrain(/* int fildes */); |
267 | 268 |
int tcflow(/* int fildes, int action */); |
268 | 269 |
int tcflush(/* int fildes, int queue_selector */); |
usr/src/lib/libc/amd64/Makefile Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libc/amd64/Makefile Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
346 | 346 |
cfree.o \ |
347 | 347 |
cfsetispeed.o \ |
348 | 348 |
cfsetospeed.o \ |
349 |
cfmakeraw.o \ |
|
349 | 350 |
cftime.o \ |
350 | 351 |
clock.o \ |
351 | 352 |
closedir.o \ |
usr/src/lib/libc/i386/Makefile.com Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libc/i386/Makefile.com Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
377 | 377 |
cfree.o \ |
378 | 378 |
cfsetispeed.o \ |
379 | 379 |
cfsetospeed.o \ |
380 |
cfmakeraw.o \ |
|
380 | 381 |
cftime.o \ |
381 | 382 |
clock.o \ |
382 | 383 |
closedir.o \ |
usr/src/lib/libc/port/llib-lc Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libc/port/llib-lc Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
307 | 307 |
/* cfsetospeed.c */ |
308 | 308 |
int cfsetospeed(struct termios *termios_p, speed_t speed); |
309 | 309 | |
310 |
/* cfmakeraw.c */ |
|
311 |
void cfmakeraw(struct termios *termios_p); |
|
312 | ||
310 | 313 |
/* cftime.c */ |
311 | 314 |
int cftime(char *buf, char *format, const time_t *t); |
312 | 315 |
int ascftime(char *buf, const char *format, const struct tm *tm); |
usr/src/lib/libc/port/mapfile-vers Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libc/port/mapfile-vers Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
90 | 90 | |
91 | 91 |
SYMBOL_VERSION ILLUMOS_0.1 { # Illumos additions |
92 | 92 |
protected: |
93 |
cfmakeraw; |
|
94 |
_cfmakeraw; |
|
93 | 95 |
timegm; |
94 | 96 |
} SUNW_1.23; |
95 | 97 |
usr/src/lib/libc/sparc/Makefile.com Fri Jun 03 11:40:03 2011 -0400 → usr/src/lib/libc/sparc/Makefile.com Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
407 | 407 |
cfree.o \ |
408 | 408 |
cfsetispeed.o \ |
409 | 409 |
cfsetospeed.o \ |
410 |
cfmakeraw.o \ |
|
410 | 411 |
cftime.o \ |
411 | 412 |
clock.o \ |
412 | 413 |
closedir.o \ |
usr/src/uts/common/sys/termios.h Fri Jun 03 11:40:03 2011 -0400 → usr/src/uts/common/sys/termios.h Wed May 25 23:18:31 2011 +0100 | ||
---|---|---|
104 | 104 |
extern int cfsetospeed(struct termios *, speed_t); |
105 | 105 |
extern speed_t cfgetispeed(const struct termios *); |
106 | 106 |
extern int cfsetispeed(struct termios *, speed_t); |
107 |
extern void cfmakeraw(struct termios *); |
|
107 | 108 |
extern int tcgetattr(int, struct termios *); |
108 | 109 |
extern int tcsetattr(int, int, const struct termios *); |
109 | 110 |
extern int tcsendbreak(int, int); |
... | ... | |
117 | 118 |
extern int cfsetospeed(); |
118 | 119 |
extern speed_t cfgetispeed(); |
119 | 120 |
extern int cfsetispeed(); |
121 |
extern void cfmakeraw(); |
|
120 | 122 |
extern int tcgetattr(); |
121 | 123 |
extern int tcsetattr(); |
122 | 124 |
extern int tcsendbreak(); |