diff options
author | Ed Maste <emaste@FreeBSD.org> | 2023-10-13 20:25:53 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2023-10-16 17:50:10 +0000 |
commit | 6eae573dc2298e3e0d97b0d829828a427254946c (patch) | |
tree | 88c336a7312bc79a2a78d00fb0b7a46bd0fac27f /sys/arm | |
parent | fd9de12a71109d1e3bb4b20e7d040fc9a1784dc2 (diff) | |
download | src-6eae573dc2298e3e0d97b0d829828a427254946c.tar.gz src-6eae573dc2298e3e0d97b0d829828a427254946c.zip |
ptsname.3: accommodate upcoming POSIX Issue 8 ptsname_r
POSIX has accepted a proposal[1] to add glibc-compatible ptsname_r. It
indicates an error by returning the error number, rather than returning
-1 and setting errno. Update RETURN VALUES in ptsname_r's man page now
to encourage folks to test that the return value != 0 rather than == -1.
[1] https://www.austingroupbugs.net/bug_view_page.php?bug_id=508
Reported by: Collin Funk
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42204
(cherry picked from commit a5ed6a815e38d6c622cd97a6020592ded579cf7a)
Diffstat (limited to 'sys/arm')
0 files changed, 0 insertions, 0 deletions