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, Jul 28, 10:33 AM
Unknown Object (File)
Tue, Jul 28, 5:06 AM
Unknown Object (File)
Wed, Jul 22, 11:06 AM
Unknown Object (File)
Wed, Jul 22, 4:41 AM
Unknown Object (File)
Tue, Jul 14, 12:21 PM
Unknown Object (File)
Mon, Jul 13, 10:18 PM
Unknown Object (File)
May 15 2026, 4:10 AM
Unknown Object (File)
May 3 2026, 1:48 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

Lint
Lint Skipped
Unit
Tests Skipped