summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/openpty.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-11-28 00:34:34 +0100
committerBruno Haible <bruno@clisp.org>2019-11-28 00:34:34 +0100
commit82e12f20ef88be6335617d7c0077cc66d81acfca (patch)
tree628ea230e67f0a894a2e57812229d7e461e57d5c /doc/glibc-functions/openpty.texi
parent721d00b4505054875aa5530c230ca9ede5452d96 (diff)
downloadgnulib-82e12f20ef88be6335617d7c0077cc66d81acfca.tar.gz
openpty, forkpty: Fix build error on Solaris 11.4.
* m4/pty_h.m4 (gl_PTY_H): Test for termios.h. Look for the declarations also in <termios.h>. * m4/pty.m4 (gl_FUNC_FORKPTY, gl_FUNC_OPENPTY): Look for the declaration of the function also in <termios.h>. * doc/glibc-functions/openpty.texi: Mention the Solaris 11.4 problems. * doc/glibc-functions/forkpty.texi: Likewise.
Diffstat (limited to 'doc/glibc-functions/openpty.texi')
-rw-r--r--doc/glibc-functions/openpty.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/glibc-functions/openpty.texi b/doc/glibc-functions/openpty.texi
index d5f4cf98e5..33f6b74968 100644
--- a/doc/glibc-functions/openpty.texi
+++ b/doc/glibc-functions/openpty.texi
@@ -29,13 +29,14 @@ and Mac OS X) linking with @code{-lutil} is not required.
On glibc, OpenBSD, NetBSD and FreeBSD linking with @code{-lutil} is
required.
@item
-The function is declared in pty.h on Cygwin
-and glibc. It is declared in util.h on Mac OS X, OpenBSD and NetBSD.
+The function is declared in pty.h on glibc and Cygwin.
+It is declared in util.h on Mac OS X, OpenBSD, and NetBSD.
It is declared in libutil.h on FreeBSD.
+It is declared in termios.h on Solaris.
@item
Some platforms declare the function without marking the last two
parameters @code{const}.
-FreeBSD, Cygwin 1.7.1.
+FreeBSD, Solaris 11.4, Cygwin 1.7.1.
@end itemize
Portability problems not fixed by Gnulib: