#define TIOCGETP 0
#define TIOCSETP 1

#define XTABS 002
#define RAW  040
#define CRLF 020
#define ECHO 010
#define CBREAK 002
#define COOKED 000

struct sgttyb {
	char ispeed, ospeed;
	char erase, kill;
	int sg_flags;
};

