X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fglibc-functions%2Fopenpty.texi;h=3ed64d654e4696e1302c015429543a3948dbb974;hb=e8eabe5a3d44bcd5ca87fba668d52203192b1645;hp=7eb528efd488faba19bd3de0dce4c4cf6f33fabc;hpb=9d84afa467b0a9abcd6e0d90fc7d1608f07bf2f1;p=gnulib.git diff --git a/doc/glibc-functions/openpty.texi b/doc/glibc-functions/openpty.texi index 7eb528efd..3ed64d654 100644 --- a/doc/glibc-functions/openpty.texi +++ b/doc/glibc-functions/openpty.texi @@ -7,6 +7,9 @@ Gnulib module: openpty Portability problems fixed by Gnulib: @itemize @item +This function is missing on some platforms: +AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11 2010-11. +@item One some systems (at least including Cygwin, Interix, OSF/1 4 and 5, and Mac OS X) linking with @code{-lutil} is not required. @item @@ -16,11 +19,20 @@ required. The function is declared in pty.h on Cygwin, Interix, OSF/1 4 and 5, and glibc. It is declared in util.h on Mac OS X, OpenBSD and NetBSD. It is declared in libutil.h on FreeBSD. +@item +Some platforms declare the function without marking the last two +parameters @code{const}. +FreeBSD, Cygwin 1.7.1. @end itemize Portability problems not fixed by Gnulib: @itemize @item -On some systems (at least including Solaris and HP-UX) the function is -missing. +This function is missing on some platforms: +mingw. +@item +After a successful call to @code{openpty}, the application needs to close +the master's file descriptor before closing the slave's file descriptor, +otherwise the process may hang in a state where it cannot be killed, on +some platforms: MacOS X 10.4.11. @end itemize