The pty/tty functions are not yet ported to mingw. (Native Windows does not have ttys, not even a <termios.h>.) This fixes the doc:
2010-04-03 Bruno Haible <br...@clisp.org> * doc/glibc-functions/openpty.texi: Update regarding mingw. * doc/glibc-functions/login_tty.texi: Likewise. * doc/glibc-functions/forkpty.texi: Likewise. --- doc/glibc-functions/forkpty.texi.orig Sat Apr 3 12:11:07 2010 +++ doc/glibc-functions/forkpty.texi Sat Apr 3 12:10:52 2010 @@ -8,7 +8,7 @@ @itemize @item This function is missing on some platforms: -AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw. +AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10. @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. @@ -27,4 +27,7 @@ Portability problems not fixed by Gnulib: @itemize +...@item +This function is missing on some platforms: +mingw. @end itemize --- doc/glibc-functions/login_tty.texi.orig Sat Apr 3 12:11:07 2010 +++ doc/glibc-functions/login_tty.texi Sat Apr 3 12:10:51 2010 @@ -8,7 +8,7 @@ @itemize @item This function is missing on some platforms: -AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw. +AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10. @item This function requires linking with @code{-lutil} on some platforms: glibc 2.3.6, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8. @@ -19,6 +19,9 @@ Portability problems not fixed by Gnulib: @itemize @item +This function is missing on some platforms: +mingw. +...@item This function is declared in @code{<utmp.h>} on glibc, Cygwin, in @code{<util.h>} on MacOS X 10.3, NetBSD 3.0, OpenBSD 3.8, in @code{<libutil.h>} on FreeBSD 6.0, Haiku, and not declared at all --- doc/glibc-functions/openpty.texi.orig Sat Apr 3 12:11:07 2010 +++ doc/glibc-functions/openpty.texi Sat Apr 3 12:10:51 2010 @@ -8,7 +8,7 @@ @itemize @item This function is missing on some platforms: -AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw. +AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10. @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. @@ -27,4 +27,7 @@ Portability problems not fixed by Gnulib: @itemize +...@item +This function is missing on some platforms: +mingw. @end itemize