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)
Tue, Mar 4, 1:06 PM
Unknown Object (File)
Fri, Feb 28, 11:03 AM
Unknown Object (File)
Feb 8 2025, 4:41 PM
Unknown Object (File)
Feb 7 2025, 11:21 PM
Unknown Object (File)
Feb 6 2025, 1:06 PM
Unknown Object (File)
Jan 31 2025, 3:39 PM
Unknown Object (File)
Jan 25 2025, 9:03 AM
Unknown Object (File)
Jan 25 2025, 8:52 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