X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fglibc-functions%2Fopenpty.texi;h=8fc96203bc1226412da8b000263298eb70636e14;hb=b65bfcd7ba0be84de3d96f22103103f21679a721;hp=79b6b33bce19c598321b1a8f2e6a82d7593ac50b;hpb=20378b72d283e0ad87da78a24976a64faeb3b9ae;p=gnulib.git diff --git a/doc/glibc-functions/openpty.texi b/doc/glibc-functions/openpty.texi index 79b6b33bc..8fc96203b 100644 --- a/doc/glibc-functions/openpty.texi +++ b/doc/glibc-functions/openpty.texi @@ -2,14 +2,13 @@ @subsection @code{openpty} @findex openpty -Gnulib module: --- +Gnulib module: openpty Portability problems fixed by Gnulib: @itemize -@end itemize - -Portability problems not 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. @@ -20,4 +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 +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