monetary.h(7POSIX)
π monetary.h(7POSIX) β monetary types, bestie β¨
okay so real talk: this is a page from the POSIX Programmer's Manual, and we're about to get into it. It's monetary.h(7POSIX) if you're being formal, and it's giving "tiny header, big responsibility" energy. π
πΈ PROLOG πΈ
This manual page is part of the POSIX Programmer's Manual. Heads up though, bestie: the Linux implementation of this interface may differ β so if you're on Linux, go peek at the corresponding Linux manual page for the deets on Linux behavior. Also possible: the interface just straight up isn't implemented on Linux at all. π Not every glow-up makes it to every platform, yk?
β¨ NAME β¨
monetary.h β monetary types πΈ
π¦ SYNOPSIS π¦
#include <monetary.h>
π DESCRIPTION π
Okay so here's the tea. The <monetary.h> header shall define the locale_t type, exactly as described in <locale.h>. Iconic.
It shall also define the size_t type, as described in <stddef.h>. Periodt.
And it shall define the ssize_t type too, as described in <sys/types.h>. The trio. The main characters. π
The following shall be declared as functions β and they may also be defined as macros. Function prototypes shall be provided so they play nice with ISO C standard compilers, no cap.
ssize_t strfmon(char *restrict, size_t, const char *restrict, ...);
ssize_t strfmon_l(char *restrict, size_t, locale_t,
const char *restrict, ...);
The following sections are informative β so like, they're the commentary track, not the main plot. π«Ά
π§ APPLICATION USAGE π§
None. Literally nothing. The section exists and it said "no thoughts, head empty". π
π RATIONALE π
None. Again, nothing. We respect the minimalism. β¨
β FUTURE DIRECTIONS β
None. The future is currently unbothered. π
π₯ SEE ALSO π₯
<locale.h><stddef.h><sys_types.h>- The System Interfaces volume of POSIX.1β2017,
strfmon()
π 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 little legend came to you courtesy of IEEE/The Open Group, 2017 β yes, the copyright girlies, we love them, we thank them, we cite them properly. stan a standards body fr fr π
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms