poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / ptsname.texi
blob3577f9b8865158e8db7e00dcb69a9408fbb58f3a
1 @node ptsname
2 @section @code{ptsname}
3 @findex ptsname
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ptsname.html}
7 Gnulib module: ptsname
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 14.
14 @item
15 This function fails to set errno on failure on some platforms:
16 FreeBSD 8.2.
17 @end itemize
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 On Solaris 11 2010-11, this function fails on all BSD-style @file{/dev/pty*}
23 device files.
24 @item
25 This function is not thread-safe on some platforms:
26 Cygwin 1.7.9.
27 Likewise, the gnulib replacement is not thread-safe.
28 @end itemize
30 Note that the Gnulib module @code{ptsname_r} is a version of this
31 function that is more likely to be thread-safe.