pthread_attr_get_np(3): Revamp
authorOlivier Certner <olce@FreeBSD.org>
Fri, 5 Jan 2024 13:14:48 +0000 (14:14 +0100)
committerOlivier Certner <olce@FreeBSD.org>
Wed, 10 Jan 2024 17:50:19 +0000 (18:50 +0100)
commit6211cd4be32dfdc51b5ac452d4ead98a36ec42a6
treefc16e53c42a9ee2214c527080d825cb65c2f8db6
parentaadb4a1b3fd185d547087f6eafca6ce0b4df3291
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
share/man/man3/pthread_attr_get_np.3