/* Exports from tty1.c. */

int scheme_tcgetattr(int fd,	     char *control_chars,
		     int *iflag,
		     int *oflag,
		     int *cflag,
		     int *lflag,
		     int *ispeed,    int *ospeed);

int scheme_tcsetattr(int fd,	    int option,
		     const char *control_chars,
		     int iflag,
		     int oflag,
		     int cflag,
		     int lflag,
		     int ispeed,    int ospeed,
		     int min,	    int time);

int open_ctty(const char *ttyname, int flags);

char *scm_ctermid(void);