MONETARY.H(7) Miscellaneous Information Manual MONETARY.H(7)

monetary.hmonetary 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 type as described in <stddef.h>.

The <monetary.h> header shall define the 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(3)

First released in Issue 4.

The keyword is added to the prototype for strfmon(3).

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.

January 31, 2018 posix.fail