extern char **environ;
-struct emacs_tty;
-int emacs_get_tty (int fd, struct emacs_tty *settings);
-int emacs_set_tty (int fd, struct emacs_tty *settings, int waitp);
-
int eight_bit_tty (struct device *d);
void stuff_char (struct console *con, int c);
extern JMP_BUF break_system_call_jump;
extern volatile int can_break_system_calls;
-int sys_write_1 (int fildes, CONST void *buf, size_t nbyte,
- int allow_quit);
-int sys_read_1 (int fildes, void *buf, size_t nbyte,
- int allow_quit);
+ssize_t sys_write_1 (int fildes, CONST void *buf, size_t nbyte,
+ int allow_quit);
+ssize_t sys_read_1 (int fildes, void *buf, size_t nbyte,
+ int allow_quit);
/* Call these functions if you want to change some terminal parameter --
reset the console, change the parameter, and init it again. */