X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fglibc-functions%2Fopenpty.texi;h=8fc96203bc1226412da8b000263298eb70636e14;hb=b65bfcd7ba0be84de3d96f22103103f21679a721;hp=7eb528efd488faba19bd3de0dce4c4cf6f33fabc;hpb=9d84afa467b0a9abcd6e0d90fc7d1608f07bf2f1;p=gnulib.git diff --git a/doc/glibc-functions/openpty.texi b/doc/glibc-functions/openpty.texi index 7eb528efd..8fc96203b 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, MSVC 9. +@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