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)
Sun, Sep 22, 4:33 PM
Unknown Object (File)
Wed, Sep 18, 2:19 AM
Unknown Object (File)
Tue, Sep 17, 5:25 AM
Unknown Object (File)
Thu, Sep 12, 5:01 AM
Unknown Object (File)
Tue, Sep 3, 10:35 PM
Unknown Object (File)
Mon, Sep 2, 6:39 PM
Unknown Object (File)
Mon, Sep 2, 6:39 PM
Unknown Object (File)
Mon, Sep 2, 6:39 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