The Open Group Base Specifications Issue 7, 2018 edition
IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)
Copyright © 2001-2018 IEEE and The Open Group

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, ...);


The following sections are informative.

APPLICATION USAGE

None.

RATIONALE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

<locale.h>, <stddef.h>, <sys/types.h>

XSH strfmon

CHANGE HISTORY

First released in Issue 4.

Issue 6

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

Issue 7

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.

End of informative text.

 

return to top of page

UNIX ® is a registered Trademark of The Open Group.
POSIX ™ is a Trademark of The IEEE.
Copyright © 2001-2018 IEEE and The Open Group, All Rights Reserved
[ Main Index | XBD | XSH | XCU | XRAT ]