monetary.h(0P)

πŸ’– monetary.h(0P) πŸ’–

okay bestie, so this is a page straight out of the POSIX Programmer's Manual β€” it's monetary.h(0P), and it's the header that handles monetary types. yes, like money. πŸ’Έ


✨ PROLOG ✨

bestie, quick heads up before we go any further: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (so like, consult the corresponding Linux manual page for details on Linux behavior), or honestly the interface may not be implemented on Linux at all. πŸ™ˆ it's giving "read the fine print first."


🌸 NAME 🌸

monetary.h β€” monetary types


πŸŽ€ SYNOPSIS πŸŽ€

#include <monetary.h>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's what this header is contractually obligated to do for you, no cap:

  • The <monetary.h> header shall define the locale_t type as described in <locale.h>. πŸ’…
  • The <monetary.h> header shall define the size_t type as described in <stddef.h>. ✨
  • The <monetary.h> header shall define the ssize_t type as described in <sys/types.h>. 🫢

The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided for use with ISO C standard compilers. periodt. πŸ”₯

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. (iykyk β€” informative means it's extra context, not the rules themselves πŸ’œ)

🌈 APPLICATION USAGE 🌈

None. literally nothing. it said what it said. πŸ’€


🧚 RATIONALE 🧚

None. no thoughts, head empty, and honestly? iconic. πŸ‘‘


⭐ FUTURE DIRECTIONS ⭐

None. the future is bright and it contains no changes to this section. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

  • <locale.h>
  • <stddef.h>
  • <sys_types.h>
  • The System Interfaces volume of POSIX.1‐2017, strfmon()

okay bestie, here comes the legal bit β€” I'm keeping it exactly as written because lawyers are the one group chat you do not want to come for you:

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 you from IEEE/The Open Group, 2017, and its man page tag is monetary.h(0P). mwah, take care of your money and your locale types πŸ’–

πŸ“¦ where this page comes from