From: Collin Funk Date: Fri, 13 Jun 2025 05:28:50 +0000 (-0700) Subject: man/man3/ptsname.3: VERSIONS: Document ptsname_r(3) incompatibility on FreeBSD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17472bafcb856eead23b3a42e780986d9c3bffaa;p=thirdparty%2Fman-pages.git man/man3/ptsname.3: VERSIONS: Document ptsname_r(3) incompatibility on FreeBSD The FreeBSD implementation of ptsname_r(2) returns -1 on error and sets errno, instead of just returning the errno. Document this issue for programs written with portability in mind. Signed-off-by: Collin Funk Message-ID: <37f138bc5c5e6604f0a0afcc531694387d2cc424.1749792527.git.collin.funk1@gmail.com> Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/ptsname.3 b/man/man3/ptsname.3 index 5b4c007f8..3390323b1 100644 --- a/man/man3/ptsname.3 +++ b/man/man3/ptsname.3 @@ -110,7 +110,7 @@ T} Thread safety MT-Safe .SH VERSIONS A version of .BR ptsname_r () -is documented on Tru64 and HP-UX, +is documented on Tru64, HP-UX, and FreeBSD, but on those implementations, \-1 is returned on error, with .I errno