diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2013-12-17 22:12:08 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2013-12-17 22:12:08 +0000 |
commit | 22561f70309f76ea3cccc7c6141aeeeb824b1f5f (patch) | |
tree | 02391c9e8b4db39249753d541c196d3daa2602b7 /sys | |
parent | 8a0e4bd7cac3f17c4348b599341b33fd169eabd9 (diff) |
The termios.h bits were missing from the initial commit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/termios.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/sys/termios.h b/sys/sys/termios.h index 81508666d88..bf0ce23a279 100644 --- a/sys/sys/termios.h +++ b/sys/sys/termios.h @@ -1,4 +1,4 @@ -/* $OpenBSD: termios.h,v 1.11 2009/12/26 09:46:17 jmc Exp $ */ +/* $OpenBSD: termios.h,v 1.12 2013/12/17 22:12:07 millert Exp $ */ /* $NetBSD: termios.h,v 1.14 1996/04/09 20:55:41 cgd Exp $ */ /* @@ -248,6 +248,14 @@ struct termios { #define TCION 4 #include <sys/cdefs.h> +#include <sys/_types.h> + +#if __XPG_VISIBLE >= 420 || __POSIX_VISIBLE >= 200809 +#ifndef _PID_T_DEFINED_ +#define _PID_T_DEFINED_ +typedef __pid_t pid_t; +#endif +#endif __BEGIN_DECLS speed_t cfgetispeed(const struct termios *); @@ -261,6 +269,10 @@ int tcflow(int, int); int tcflush(int, int); int tcsendbreak(int, int); +#if __XPG_VISIBLE >= 420 || __POSIX_VISIBLE >= 200809 +pid_t tcgetsid(int); +#endif + #if __BSD_VISIBLE void cfmakeraw(struct termios *); int cfsetspeed(struct termios *, speed_t); |