summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-19 11:49:39 +0200
committerBruno Haible <bruno@clisp.org>2011-10-19 11:49:39 +0200
commit9ce1d1748f8d7d27b41f7026ee137eb5eed7c224 (patch)
treeb9bd1c82c681e7b27e32fc367ccbb0b2e76eafd7 /doc
parent4d699c3727abd33573584053c3d272b92f5b4f1a (diff)
downloadgnulib-9ce1d1748f8d7d27b41f7026ee137eb5eed7c224.tar.gz
posix_openpt: Fix compilation error.
* lib/posix_openpt.c (posix_openpt): Renamed from posix_openpty. * doc/posix-functions/posix_openpt.texi: Mention ENOENT error code. Mention the openpty module as an alternative.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/posix_openpt.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/posix-functions/posix_openpt.texi b/doc/posix-functions/posix_openpt.texi
index 86653c14c4..0c0cb213dc 100644
--- a/doc/posix-functions/posix_openpt.texi
+++ b/doc/posix-functions/posix_openpt.texi
@@ -12,9 +12,15 @@ Portability problems fixed by Gnulib:
This function is missing on some platforms:
MacOS X 10.3, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1,
Solaris 9, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
-However, the replacement may fail with ENOSYS on some platforms.
+However, the replacement may fail with @code{ENOSYS} or @code{ENOENT} on
+some platforms.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Note that when using this function to open the master side of a
+pseudo-terminal, you still need platform dependent code to open the
+corresponding slave side. The Gnulib module @code{openpty} provides
+an easy-to-use API that does both at once.