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)
May 5 2024, 10:25 AM
Unknown Object (File)
Jan 21 2024, 12:27 PM
Unknown Object (File)
Dec 20 2023, 6:52 AM
Unknown Object (File)
Dec 12 2023, 9:30 AM
Unknown Object (File)
Dec 8 2023, 2:05 PM
Unknown Object (File)
Nov 28 2023, 1:15 PM
Unknown Object (File)
Nov 2 2023, 6:58 PM
Unknown Object (File)
Oct 14 2023, 3:55 PM
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