2 @subsection @code{ptsname_r}
9 @ref{Allocation,,Allocating Pseudo-Terminals,libc},
12 @url{https://www.gnu.org/software/libc/manual/html_node/Allocation.html},
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/ptsname_r.3.html,,man ptsname_r}.
18 Gnulib module: ptsname_r
20 Portability problems fixed by Gnulib:
23 This function is missing on some platforms:
24 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 6.7, Minix 3.1.8,
25 AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.7.9, mingw,
28 When this functions fails, it returns -1 instead of the error code
30 Mac OS X 10.13, Android 4.3.
33 Portability problems not fixed by Gnulib:
37 Note: Portable programs should expect to find the error code as the
38 return value of this function, not as the value of @code{errno}.
39 This is needed for compatibility with musl libc and with the
40 forthcoming POSIX Issue 8.