2 @section @code{ptsname}
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ptsname.html}
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 14.
15 This function fails to set errno on failure on some platforms:
19 Portability problems not fixed by Gnulib:
22 On Solaris 11 2010-11, this function fails on all BSD-style @file{/dev/pty*}
25 This function is not thread-safe on some platforms:
27 Likewise, the gnulib replacement is not thread-safe.
30 Note that the Gnulib module @code{ptsname_r} is a version of this
31 function that is more likely to be thread-safe.