PTHREAD..._SETTYPE(3POSIX)

πŸŽ€ PROLOG πŸŽ€

okay bestie, real talk before we even start: this page is part of the POSIX Programmer's Manual. and the Linux implementation of this interface may differ β€” so if you're on Linux, go peek at the corresponding Linux manual page for the deets on Linux behavior. or, plot twist, the interface might not even be implemented on Linux at all. πŸ™ˆ


✨ NAME ✨

pthread_mutexattr_settype β€” set the mutex type attribute πŸ’…


🌸 SYNOPSIS 🌸

#include <pthread.h>

int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);

πŸ¦‹ DESCRIPTION πŸ¦‹

so like… this one's a plot point, not a whole arc. refer to pthread_mutexattr_gettype(). that's it, that's the description. go read that one, bestie, it's holding all the lore 🫢


okay legal queen moment, we have to do this part properly so here it is, no edits:

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 .

also if you spot any typographical or formatting errors in this page, they were most likely introduced during the conversion of the source files to man page format. not our fault, but we do want to know! report such errors here: https://www.kernel.org/doc/man-pages/reporting_bugs.html

and that's the whole page, babe β€” short and sweet, just like this one. mwah πŸ’–

IEEE/The Open Group Β· 2017 Β· PTHREAD..._SETTYPE(3POSIX) ⭐ that's the source, the version and the date, all wrapped up in a little bow. periodt. πŸ’…πŸŽ€