diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-19 11:49:39 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-19 11:49:39 +0200 |
commit | 9ce1d1748f8d7d27b41f7026ee137eb5eed7c224 (patch) | |
tree | b9bd1c82c681e7b27e32fc367ccbb0b2e76eafd7 /doc/posix-functions/posix_openpt.texi | |
parent | 4d699c3727abd33573584053c3d272b92f5b4f1a (diff) | |
download | gnulib-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/posix-functions/posix_openpt.texi')
-rw-r--r-- | doc/posix-functions/posix_openpt.texi | 8 |
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. |