PUTWCHAR(3P)

πŸ’– PUTWCHAR(3P) πŸ’– β€” the POSIX Programmer's Manual edition, bestie

okay so like. this page is putwchar from the POSIX Programmer's Manual, and it's genuinely so cute and simple that you're gonna be obsessed. one function. one job. let's get into it. πŸ¦‹


✨ PROLOG

so before we even start, real talk: this manual page is part of the POSIX Programmer's Manual. the Linux implementation of this interface may differ (so like, go check the corresponding Linux manual page for the Linux tea), and also β€” bestie, brace yourself β€” the interface may not be implemented on Linux at all. πŸ’€


🌸 NAME

putwchar β€” put a wide character on a stdout stream

(yes that's the whole thing. short queen. πŸ‘‘)


πŸŽ€ SYNOPSIS

#include <wchar.h>

wint_t putwchar(wchar_t wc);

πŸ’… DESCRIPTION

okay so the functionality described on this reference page is aligned with the ISO C standard. any conflict between the requirements described here and the ISO C standard is unintentional β€” like, no drama intended, fr fr. and this volume of POSIX.1‐2017 defers to the ISO C standard. periodt.

now the actual function, the main character herself:

the function call putwchar(wc) shall be equivalent to putwc(wc,stdout).

that's it. that's the whole vibe. it's giving "I'm putwc but I already know where I'm going." πŸ’…βœ¨


πŸ”₯ RETURN VALUE

refer to fputwc(). (go read that page, bestie, the answer lives there 🫢)


😭 ERRORS

refer to fputwc(). (same energy, same page, same answers πŸ’œ)

heads up: the following sections are informative β€” meaning they're the vibes, not the rules.

🧚 EXAMPLES

none. πŸ™ˆ (iconic behaviour honestly, she said "figure it out")


⭐ APPLICATION USAGE

none. ✨


🌈 RATIONALE

none. πŸ’–


πŸ¦‹ FUTURE DIRECTIONS

none. πŸŽ€


πŸ’œ SEE ALSO

  • Section 2.5, Standard I/O Streams
  • fputwc()
  • putwc()
  • the Base Definitions volume of POSIX.1‐2017, <wchar.h>

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 one came to us from IEEE/The Open Group, 2017 β€” so like, shoutout to the 2017 girlies for the PUTWCHAR(3P) drop. now go put a wide character on stdout and slay. πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from