+2009-12-08 Simon Josefsson <simon@josefsson.org>
+
+ * doc/gnulib.texi (Glibc pty.h): Add.
+ * doc/glibc-functions/forkpty.texi: Add.
+ * doc/glibc-functions/openpty.texi: Add.
+ Suggested by Bruno Haible.
+
2009-12-08 Eric Blake <ebb9@byu.net>
fchdir: fix logic bugs
--- /dev/null
+@node forkpty
+@subsection @code{forkpty}
+@findex forkpty
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@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
+On glibc, OpenBSD, NetBSD and FreeBSD linking with @code{-lutil} is
+required.
+@item
+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.
+@end itemize
--- /dev/null
+@node openpty
+@subsection @code{openpty}
+@findex openpty
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@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
+On glibc, OpenBSD, NetBSD and FreeBSD linking with @code{-lutil} is
+required.
+@item
+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.
+@end itemize
* Glibc obstack.h::
* Glibc printf.h::
* Glibc pthread.h::
+* Glibc pty.h::
* Glibc pwd.h::
* Glibc regex.h::
* Glibc regexp.h::
@include glibc-functions/pthread_rwlockattr_setkind_np.texi
@include glibc-functions/pthread_yield.texi
-@c @node Glibc pty.h
-@c @section Glibc @code{<pty.h>}
+@node Glibc pty.h
+@section Glibc @code{<pty.h>}
+
+@menu
+* forkpty::
+* openpty::
+@end menu
+
+@include glibc-functions/forkpty.texi
+@include glibc-functions/openpty.texi
@node Glibc pwd.h
@section Glibc Extensions to @code{<pwd.h>}