fchmod-tests, fchmodat tests, lchmod tests: Add more tests.
[gnulib.git] / doc / glibc-functions / forkpty.texi
blobc4cf82c16518f2ed686ff3874128214d9f32d4be
1 @node forkpty
2 @subsection @code{forkpty}
3 @findex forkpty
5 Documentation:
6 @itemize
7 @item
8 @ifinfo
9 @ref{Pseudo-Terminal Pairs,,Opening a Pseudo-Terminal Pair,libc},
10 @end ifinfo
11 @ifnotinfo
12 @url{https://www.gnu.org/software/libc/manual/html_node/Pseudo_002dTerminal-Pairs.html},
13 @end ifnotinfo
14 @item
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/forkpty.3.html,,man forkpty}.
16 @end itemize
18 Gnulib module: forkpty
20 Portability problems fixed by Gnulib:
21 @itemize
22 @item
23 This function is missing on some platforms:
24 Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.3, Android 5.1.
25 @item
26 One some systems (at least including Cygwin
27 and Mac OS X) linking with @code{-lutil} is not required.
28 @item
29 On glibc, OpenBSD, NetBSD and FreeBSD linking with @code{-lutil} is
30 required.
31 @item
32 The function is declared in pty.h on glibc and Cygwin.
33 It is declared in util.h on Mac OS X, OpenBSD, and NetBSD.
34 It is declared in libutil.h on FreeBSD.
35 It is declared in termios.h on Solaris.
36 @item
37 Some platforms declare the function without marking the last two
38 parameters @code{const}.
39 FreeBSD, Solaris 11.4, Cygwin 1.7.1.
40 @end itemize
42 Portability problems not fixed by Gnulib:
43 @itemize
44 @item
45 This function is missing on some platforms:
46 mingw, MSVC 14.
47 @end itemize