Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node ptsname
@subsection @code{ptsname}
@findex ptsname
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/ptsname.html}
Gnulib module: ptsname
@mindex ptsname
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 14.
@item
This function fails to set errno on failure on some platforms:
FreeBSD 8.2.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
On Solaris 11 2010-11, this function fails on all BSD-style @file{/dev/pty*}
device files.
@item
This function is not thread-safe on some platforms:
Cygwin 1.7.9.
Likewise, the gnulib replacement is not thread-safe.
@end itemize
@mindex ptsname_r
Note that the Gnulib module @code{ptsname_r} is a version of this
function that is more likely to be thread-safe.