PTHREAD...CEILING(3POSIX)

πŸ’… PTHREAD_MUTEXATTR_SETPRIOCEILING β€” the POSIX Programmer's Manual, 3POSIX girlies know

okay bestie, gather round, because this one is a tiny page but she's part of something big. This is pthread_mutexattr_setprioceiling from the POSIX Programmer's Manual, section 3POSIX, and we're gonna read her together like a group chat screenshot. 🫢


✨ PROLOG ✨

So, full transparency, queen: this manual page is part of the POSIX Programmer's Manual. That means the Linux implementation of this interface may differ β€” so if you're on Linux, pls go consult 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. 😭 Not every icon gets a Linux glow-up, iykyk.


🌸 NAME 🌸

pthread_mutexattr_setprioceiling β€” set the prioceiling attribute of the mutex attributes object. And yes, she's filed under REALTIME THREADS, so she runs with the real-time crowd. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

the way you just include her and call her, periodt:

#include <pthread.h>

int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr,
    int prioceiling);

Two args, one int return, zero drama. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, this page is not the main character here β€” she literally says: Refer to pthread_mutexattr_getprioceiling(). That's the whole vibe. She's the setter, that one's the getter, and they're besties who share a whole description. Go read that page for the actual tea. πŸ’–


ngl bestie, this is the part where the lawyers step in, and we keep every word because facts are facts. πŸ’€

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. Like, she's the final boss, no appeals. 🫑

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 .


so if you spot a typo, don't come for the standard β€” she's innocent, it was the man page conversion, fr fr. πŸ™ˆ

and that's the whole page, bestie! she's short, she's sweet, she's giving "I just point you to my sister page" energy, and honestly? iconic. 🌈⭐

cute sign-off time: this one's stamped IEEE/The Open Group, 2017, and lives at PTHREAD...CEILING(3POSIX). mwah πŸ’…πŸ“