PUTC_UNLOCKED(3POSIX)

πŸ¦‹ PUTC_UNLOCKED(3POSIX) πŸ¦‹

okay bestie, so this lil page comes straight out of the POSIX Programmer's Manual β€” yeah, the IEEE Std 1003.1-2017 one, the real one, no bootleg energy here. let's get into it πŸ’…


✨ PROLOG ✨

so like, this manual page? it's part of the POSIX Programmer's Manual. but heads up fr fr: the Linux implementation of this interface may differ from what's written here, so if you're on Linux you lowkey need to go check 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. πŸ™ˆ vibe check accordingly.


πŸŽ€ NAME πŸŽ€

putc_unlocked β€” stdio with explicit client locking. periodt.


🌸 SYNOPSIS 🌸

#include <stdio.h>

int putc_unlocked(int c, FILE *stream);

that's it, that's the whole signature. iconic. ✨


πŸ’– DESCRIPTION πŸ’–

okay so, plot twist: there's no long description here. it just says refer to getc_unlocked(). that's the whole thing. go read that one, bestie, it's got the lore you need. 🫢


ngl, some 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.

and like, 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. no cap. 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 (the way that conversion does that 😭). to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page, babes 🧚 this one was brought to you by IEEE/The Open Group, dated 2017, living under the name PUTC_UNLOCKED(3POSIX). slay, stay unlocked, and remember: explicit client locking is a lifestyle. πŸ’œπŸŒˆβ­