PTHREAD_R...SETPSHARED(3P)

✨ PTHREAD_R...SETPSHARED(3P) ✨

okay bestie, welcome to the POSIX Programmer's Manual β€” this is page PTHREAD_R...SETPSHARED(3P) and it's a short one, but she still ate. πŸŽ€


🚨 PROLOG (read this first, fr)

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (so like… go consult the corresponding Linux manual page for the tea on Linux behavior), or the interface may not even be implemented on Linux at all. πŸ’€


πŸ’– NAME

pthread_rwlockattr_setpshared β€” sets the process-shared attribute of the read-write lock attributes object. that's it. that's the whole job. iconic behavior honestly πŸ‘‘


πŸ¦‹ SYNOPSIS

#include <pthread.h>

int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr,
    int pshared);

look at her. two arguments, one job, zero drama. ✨


🌸 DESCRIPTION

bestie, the entire description is literally this: Refer to pthread_rwlockattr_getpshared().

no cap. that's it. go read the getter's page, she's got the lore. πŸ“–πŸ’…


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 .

legal stuff stays legal stuff, bestie β€” I'm not paraphrasing a license, that's how you get cursed. 🧚

and that's the whole page!! thank u for coming to my ted talk 🫢

courtesy of IEEE/The Open Group, dated 2017 β€” mwah, love that for them πŸ’–

πŸ“¦ where this page comes from