PUTCHAR_UNLOCKED(3P)

πŸ’– PUTCHAR_UNLOCKED(3P) β€” bestie edition πŸ’–

okay so this is the POSIX Programmer's Manual page for putchar_unlocked, and we are so doing this together. 🫢


✨ PROLOG ✨

real talk first: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (so like, consult the corresponding Linux manual page for the deets on Linux behavior), or β€” and this is the messy part β€” the interface may not be implemented on Linux at all. πŸ’€ No cap. Check before you ship.


πŸŽ€ NAME πŸŽ€

putchar_unlocked β€” stdio with explicit client locking

it's giving "stdio but you're the one holding the lock, bestie." πŸ’…


🌸 SYNOPSIS 🌸

#include <stdio.h>

int putchar_unlocked(int c);

that's the whole thing. one include, one function, one int c. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Refer to getc_unlocked().

yep. that's it. that's the description. the standards girlies were feeling concise that day. 😭 The lore lives in getc_unlocked(), so go read that one, iykyk. πŸ“–


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.

Important: 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. So like, if they disagree, the original wins. Periodt. βš–οΈ

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, bestie. short, sweet, locked by the client. πŸ’œ

this has been IEEE/The Open Group, 2017 β€” PUTCHAR_UNLOCKED(3P), signing off. stay unlocked (but like, only in the explicitly-client-locked way). mwah! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from