Mercurial > hg > xemacs-beta
comparison src/sysdep.h @ 430:a5df635868b2 r21-2-23
Import from CVS: tag r21-2-23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:08 +0200 |
parents | 3ecd8885ac67 |
children | 3a7e78e1142d |
comparison
equal
deleted
inserted
replaced
429:8305706cbb93 | 430:a5df635868b2 |
---|---|
24 #define _XEMACS_SYSDEP_H_ | 24 #define _XEMACS_SYSDEP_H_ |
25 | 25 |
26 #include <setjmp.h> | 26 #include <setjmp.h> |
27 | 27 |
28 extern char **environ; | 28 extern char **environ; |
29 | |
30 struct emacs_tty; | |
31 int emacs_get_tty (int fd, struct emacs_tty *settings); | |
32 int emacs_set_tty (int fd, struct emacs_tty *settings, int waitp); | |
33 | 29 |
34 int eight_bit_tty (struct device *d); | 30 int eight_bit_tty (struct device *d); |
35 | 31 |
36 void stuff_char (struct console *con, int c); | 32 void stuff_char (struct console *con, int c); |
37 | 33 |
76 naturally interruptible. */ | 72 naturally interruptible. */ |
77 | 73 |
78 extern JMP_BUF break_system_call_jump; | 74 extern JMP_BUF break_system_call_jump; |
79 extern volatile int can_break_system_calls; | 75 extern volatile int can_break_system_calls; |
80 | 76 |
81 int sys_write_1 (int fildes, CONST void *buf, size_t nbyte, | 77 ssize_t sys_write_1 (int fildes, CONST void *buf, size_t nbyte, |
82 int allow_quit); | 78 int allow_quit); |
83 int sys_read_1 (int fildes, void *buf, size_t nbyte, | 79 ssize_t sys_read_1 (int fildes, void *buf, size_t nbyte, |
84 int allow_quit); | 80 int allow_quit); |
85 | 81 |
86 /* Call these functions if you want to change some terminal parameter -- | 82 /* Call these functions if you want to change some terminal parameter -- |
87 reset the console, change the parameter, and init it again. */ | 83 reset the console, change the parameter, and init it again. */ |
88 void init_one_console (struct console *c); | 84 void init_one_console (struct console *c); |
89 void reset_one_console (struct console *c); | 85 void reset_one_console (struct console *c); |