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()

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 πŸ’–