Hash :
b856fadc
Author :
Date :
2012-02-29T08:36:22
termios: fix pid_t always, not just for tcgetsid tests-termios.c was failing on more than just cygwin. * doc/posix-headers/termios.texi (termios.h): Mention problem. * lib/termios.in.h (include): Ensure pid_t on all platforms, not just when building tcgetsid. Signed-off-by: Eric Blake <eblake@redhat.com>
@node termios.h
@section @file{termios.h}
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html}
Gnulib module: termios
Portability problems fixed by Gnulib:
@itemize
@item
This header file is missing on some platforms:
mingw, MSVC 9.
@item
This header does not declare @code{pid_t} on all platforms:
glibc on some architectures, FreeBSD 6.4, OpenBSD 4.9, Cygwin 1.7.11.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
The types @code{struct termios}, @code{cc_t}, @code{speed_t}, @code{tcflag_t}
are not defined on some platforms:
mingw, MSVC 9.
@end itemize