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:
Axel Dörfler
2004-09-29 10:24:46 +00:00
parent 2f88663bae
commit fafe5b8bdb
+2
View File
@@ -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