Mac OS X >= 10.3.4 has ptsname_r. And FreeBSD >= 13 has a POSIX-compliant getlogin_r declaration.
2021-12-24 Bruno Haible <br...@clisp.org> doc: Small updates. * doc/glibc-functions/ptsname_r.texi: Update info regarding Mac OS X. * doc/posix-functions/getlogin_r.texi: Update info regarding FreeBSD. diff --git a/doc/glibc-functions/ptsname_r.texi b/doc/glibc-functions/ptsname_r.texi index 6db6dcba3..c09d096b6 100644 --- a/doc/glibc-functions/ptsname_r.texi +++ b/doc/glibc-functions/ptsname_r.texi @@ -21,7 +21,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 6.7, Minix 3.1.8, +Mac OS X 10.12, FreeBSD 12.0, NetBSD 5.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.7.9, mingw, MSVC 14. @item diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index ea8fb6924..b63f774ca 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -25,7 +25,7 @@ Portability problems not fixed by Gnulib: @itemize @item This function has an incompatible declaration on some platforms: -MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +FreeBSD 12.0, MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @item This function fails even when standard input is a tty on some platforms: HP-UX 11.11.