184442Sbde/*-
287659Sphantom * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
383105Sphantom * All rights reserved.
483105Sphantom *
583105Sphantom * Redistribution and use in source and binary forms, with or without
683105Sphantom * modification, are permitted provided that the following conditions
783105Sphantom * are met:
883105Sphantom * 1. Redistributions of source code must retain the above copyright
983105Sphantom *    notice, this list of conditions and the following disclaimer.
1083105Sphantom * 2. Redistributions in binary form must reproduce the above copyright
1183105Sphantom *    notice, this list of conditions and the following disclaimer in the
1283105Sphantom *    documentation and/or other materials provided with the distribution.
1383105Sphantom *
1483105Sphantom * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1583105Sphantom * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1683105Sphantom * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1783105Sphantom * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1883105Sphantom * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1983105Sphantom * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2083105Sphantom * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2183105Sphantom * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2283105Sphantom * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2383105Sphantom * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2483105Sphantom * SUCH DAMAGE.
2583105Sphantom *
2683105Sphantom * $FreeBSD$
2783105Sphantom */
2883105Sphantom
2987744Sphantom#ifndef _MONETARY_H_
3087744Sphantom#define	_MONETARY_H_
3183105Sphantom
3283105Sphantom#include <sys/cdefs.h>
33102227Smike#include <sys/_types.h>
3483105Sphantom
35102227Smike#ifndef _SIZE_T_DECLARED
36102227Smiketypedef	__size_t	size_t;
37102227Smike#define	_SIZE_T_DECLARED
3884441Sbde#endif
3984441Sbde
40103667Smike#ifndef _SSIZE_T_DECLARED
41102227Smiketypedef	__ssize_t	ssize_t;
42103667Smike#define	_SSIZE_T_DECLARED
4384441Sbde#endif
4484441Sbde
4583105Sphantom__BEGIN_DECLS
46301035Sed#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)
47233600Stheraven#include <xlocale/_monetary.h>
48233600Stheraven#endif
49103667Smikessize_t	strfmon(char * __restrict, size_t, const char * __restrict, ...);
5083105Sphantom__END_DECLS
5183105Sphantom
5287744Sphantom#endif /* !_MONETARY_H_ */
53