monetary.h - monetary types
#include <monetary.h>
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.
ssize_t strfmon(char *restrict, size_t, const char *restrict, ...); ssize_t strfmon_l(char *restrict, size_t, locale_t, const char *restrict, ...);
None.
None.
None.
<locale.h>, <stddef.h>, <sys/types.h>
XSH strfmon
First released in Issue 4.
The restrict keyword is added to the prototype for strfmon().
The <monetary.h> header is moved from the XSI option to the Base.
The strfmon_l() function is added from The Open Group Technical Standard, 2006, Extended API Set Part 4.
A declaration for the locale_t type is added.
return to top of page