Page MenuHomeFreeBSD

ptsname.3: accommodate upcoming POSIX Issue 8 ptsname_r
ClosedPublic

Authored by emaste on Oct 13 2023, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 4:10 AM
Unknown Object (File)
Sun, May 3, 1:48 PM
Unknown Object (File)
Wed, Apr 29, 4:07 PM
Unknown Object (File)
Sat, Apr 25, 12:35 AM
Unknown Object (File)
Apr 20 2026, 2:53 AM
Unknown Object (File)
Apr 16 2026, 7:20 PM
Unknown Object (File)
Apr 16 2026, 11:41 AM
Unknown Object (File)
Apr 14 2026, 11:40 AM
Subscribers

Details

Summary
POSIX has accepted a proposal[1] to add glibc-compatible ptsname_r.  It
indicates an error by returning the error number, rather than setting
errno.  Update RETURN VALUES in ptsname_r's man page now to encourage
folks to test != 0 rather than == -1.

[1] https://www.austingroupbugs.net/bug_view_page.php?bug_id=508

Reported by:    Collin Funk
Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable