Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / doc / posix-functions / ptsname.texi
1 @node ptsname
2 @section @code{ptsname}
3 @findex ptsname
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ptsname.html}
6
7 Gnulib module: ptsname
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Mac OS X 10.3, OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 9, BeOS.
14 @item
15 This function fails to set errno on failure on some platforms:
16 FreeBSD 8.2.
17 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 This function is not declared on some platforms:
23 IRIX 5.3.
24 @item
25 On Solaris 11 2010-11, this function fails on all BSD-style @file{/dev/pty*}
26 device files.
27 @item
28 This function is not thread-safe on some platforms:
29 Cygwin 1.7.9.
30 Likewise, the gnulib replacement is not thread-safe.
31 @end itemize
32
33 Note that the Gnulib module @code{ptsname_r} is a version of this
34 function that is more likely to be thread-safe.