You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
535 B

** changetty.h
** This file is part of mse, under GPLv3.
#ifndef __CHANGETTY_H
#define __CHANGETTY_H
#include <termios.h>
typedef struct termios TTYINFO;
/* fallback to termio */
#include <termio.h>
typedef struct termio TTYINFO;
#endif /* HAVE_TERMIO_H */
#endif /* HAVE_TERMIOS_H */
void init(void);
void ttyedit(void);
void ttynormal(void);
int getspeed(int fd);
int gttyinfo(int fd, TTYINFO *buf);
int mttyinfo(TTYINFO *buf);
int sttyinfo(int fd, TTYINFO *buf);