]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/ptsname.3: VERSIONS: Document ptsname_r(3) incompatibility on FreeBSD
authorCollin Funk <collin.funk1@gmail.com>
Fri, 13 Jun 2025 05:28:50 +0000 (22:28 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sun, 27 Jul 2025 11:12:07 +0000 (13:12 +0200)
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 <collin.funk1@gmail.com>
Message-ID: <37f138bc5c5e6604f0a0afcc531694387d2cc424.1749792527.git.collin.funk1@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/ptsname.3

index 5b4c007f89420aa3525ecb3d35bd474c649207d4..3390323b11c37659181bc456611b7c6888d8af19 100644 (file)
@@ -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