Luna/libc/include/bits/termios.h
apio 81e1fdf81e
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc+login+sh+su: Implement foreground and background process groups in the default console
Also, the console sends SIGINT to the foreground process group when ^C is pressed!
2023-07-12 13:49:37 +02:00

24 lines
354 B
C

/* 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
#define TOSTOP 2
// termios ioctl() requests.
#define TCGETS 0
#define TCSETS 1
#define TIOCSPGRP 2
#endif