NAME
monetary.h —
monetary types
SYNOPSIS
#include
<monetary.h>
DESCRIPTION
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, ...);
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<locale.h>, <stddef.h>, <sys/types.h>
XSH strfmon(3)
CHANGE HISTORY
First released in Issue 4.
Issue 6
The restrict keyword is added to the prototype for strfmon(3).
Issue 7
The <monetary.h> header is moved from the XSI option to the Base.
The strfmon_l(3) function is added from The Open Group Technical Standard, 2006, Extended API Set Part 4.
A declaration for the locale_t type is added.