X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fsysdep.h;h=04432e900f9761f4f857fd5f7e61854b369e7d0a;hp=79e6a76d16cfe6961d265a9bd05d7fdbeb3f43f4;hb=b73e352f264e9da0a00159dc29f318305cbe8636;hpb=afa9772e3fcbb4e80e3e4cfd1a40b4fccc6d08b8 diff --git a/src/sysdep.h b/src/sysdep.h index 79e6a76..04432e9 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -27,10 +27,6 @@ Boston, MA 02111-1307, USA. */ 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); @@ -78,10 +74,10 @@ void reset_poll_for_quit (void); 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. */