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>
π COPYRIGHT
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
- alpine 3.22: man-pages-posix 2017a-r0 Β· custom
- alpine 3.23: man-pages-posix 2017a-r0 Β· custom
- alpine 3.24: man-pages-posix 2017a-r0 Β· custom
- arch rolling: man-pages 6.19-1
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages-posix 2017a
- opensuse-leap 16.0: man-pages-posix 2017a-160000.4.1 Β· SUSE-IEEE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms