From fafe5b8bdbc221a10e538a4798b0cb422f28e755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 29 Sep 2004 10:24:46 +0000 Subject: [PATCH] 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 --- headers/posix/termios.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/posix/termios.h b/headers/posix/termios.h index 6914e75169..5335b29032 100644 --- a/headers/posix/termios.h +++ b/headers/posix/termios.h @@ -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