Added two ioctl() values to set and get the TTY's process group ID.
Copied the old and ugly naming style, though... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -172,6 +172,8 @@ struct termios {
|
||||
#define TIOCGWINSZ (TCGETA + 12) /* pass in a struct winsize */
|
||||
#define TIOCSWINSZ (TCGETA + 13) /* pass in a struct winsize */
|
||||
#define TCVTIME (TCGETA + 14) /* pass in bigtime_t, old value saved */
|
||||
#define TIOCGPGRP (TCGETA + 15) /* Gets the process group ID of the TTY device */
|
||||
#define TIOCSPGRP (TCGETA + 16) /* Sets the process group ID ('pgid' in BeOS) */
|
||||
|
||||
/* Event codes. Returned from TCWAITEVENT */
|
||||
#define EV_RING 0x0001
|
||||
|
||||
Reference in New Issue
Block a user