PUTC_UNLOCKED(3P)

πŸ’– PUTC_UNLOCKED πŸ’– β€” like, the POSIX Programmer's Manual version, bestie

okay so real talk before we even start: this is a page from the POSIX Programmer's Manual (that's the manual name, bestie, it's PUTC_UNLOCKED(3P)). And there's a lil ✨disclaimer✨ that comes with it, so let's get that out of the way first.

🌸 PROLOG 🌸

Heads up, gorgeous: 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 deets on Linux behavior), or β€” plot twist β€” the interface might not even be implemented on Linux at all. πŸ’€

✨ NAME ✨

putc_unlocked β€” stdio with explicit client locking. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <stdio.h>

int putc_unlocked(int c, FILE *stream);

look at her. so small. so powerful. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so for this one? just go refer to getc_unlocked(). literally. that's where the whole story lives. 🫢


ngl this part is the serious bit, so imma keep it accurate 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, bestie!! 🌈⭐ this lil masterpiece was brought to you by IEEE/The Open Group, dated 2017, and it's filed under PUTC_UNLOCKED(3P) β€” periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from