PTHREAD_R...KATTR_INIT(3P)

πŸ’– PTHREAD_R...KATTR_INIT(3P) πŸ’–

okay bestie, welcome to the POSIX Programmer's Manual β€” yes, the whole POSIX Programmer's Manual, that's the manual name, it's giving official. πŸŽ€

Heads up babes: the Linux implementation of this interface may differ (so like, go consult the corresponding Linux manual page for the deets on Linux behavior), or honestly the interface may just not be implemented on Linux at all. πŸ™ˆ

✨ NAME ✨

pthread_rwlockattr_init β€” initialize the read-write lock attributes object πŸ¦‹


🌸 SYNOPSIS 🌸

#include <pthread.h>

int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);

πŸ’… DESCRIPTION πŸ’…

ngl, this one's short and sweet β€” refer to pthread_rwlockattr_destroy(). that's it, that's the description. the way they just pointed you at the other function 😭 iconic behavior fr fr.


Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page, no cap β€” shoutout to IEEE/The Open Group, 2017 for the source and the date, they ate and left no crumbs. πŸ’œβœ¨

πŸ“¦ where this page comes from