HomeFreeBSD

pthread_attr_get_np(3): Revamp

Description

pthread_attr_get_np(3): Revamp

Fix and more thoroughly describe the attributes object lifecycle.

Also, correct the text about which attributes' values are reported.

Add the ENOMEM error.

While here, rephrase unclear passages, add references and fix the
example's style.

Reviewed by: kib, emaste
Approved by: emaste (mentor)
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43330

Details

Provenance
olceAuthored on Jan 5 2024, 1:14 PM
Reviewer
kib
Differential Revision
D43330: pthread_attr_get_np(3): Proper attributes object lifecycle
Parents
rGaadb4a1b3fd1: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error
Branches
Unknown
Tags
Unknown