Luna/libc/include/bits/termios.h

22 lines
317 B
C
Raw Normal View History

/* bits/termios.h: Terminal control definitions. */
#ifndef _BITS_TERMIOS_H
#define _BITS_TERMIOS_H
typedef long tcflag_t;
// VERY incomplete termios structure.
struct termios
{
tcflag_t c_lflag;
};
// Values for c_lflag.
#define ECHO 1
// termios ioctl() requests.
#define TCGETS 0
#define TCSETS 1
#endif