From 6051af2a4e696806e04b25c434f62d2d5d126de8 Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Wed, 1 Jul 2009 23:49:43 +0300 Subject: [PATCH] termios.h: Expose tcgetsid(3) function. --- sys/sys/termios.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sys/sys/termios.h b/sys/sys/termios.h index 4a0cd93..1db4ec4 100644 --- a/sys/sys/termios.h +++ b/sys/sys/termios.h @@ -256,6 +256,10 @@ int tcflow (int, int); int tcflush (int, int); int tcsendbreak (int, int); +#if __XSI_VISIBLE +pid_t tcgetsid(int); +#endif /* !_XSI_VISIBLE */ + #ifndef _POSIX_SOURCE void cfmakeraw (struct termios *); int cfsetspeed (struct termios *, speed_t); -- 1.6.0.6