monetary.h revision 103667
1238384Sjkim/*-
2238384Sjkim * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
3238384Sjkim * All rights reserved.
4238384Sjkim *
5238384Sjkim * Redistribution and use in source and binary forms, with or without
6238384Sjkim * modification, are permitted provided that the following conditions
7238384Sjkim * are met:
8238384Sjkim * 1. Redistributions of source code must retain the above copyright
9238384Sjkim *    notice, this list of conditions and the following disclaimer.
10238384Sjkim * 2. Redistributions in binary form must reproduce the above copyright
11238384Sjkim *    notice, this list of conditions and the following disclaimer in the
12238384Sjkim *    documentation and/or other materials provided with the distribution.
13238384Sjkim *
14238384Sjkim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15238384Sjkim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16291721Sjkim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17238384Sjkim * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18238384Sjkim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19238384Sjkim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20238384Sjkim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21238384Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22238384Sjkim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23238384Sjkim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24238384Sjkim * SUCH DAMAGE.
25238384Sjkim *
26238384Sjkim * $FreeBSD: head/include/monetary.h 103667 2002-09-20 08:22:48Z mike $
27238384Sjkim */
28238384Sjkim
29238384Sjkim#ifndef _MONETARY_H_
30238384Sjkim#define	_MONETARY_H_
31238384Sjkim
32238384Sjkim#include <sys/cdefs.h>
33238384Sjkim#include <sys/_types.h>
34264331Sjkim
35264331Sjkim#ifndef _SIZE_T_DECLARED
36238384Sjkimtypedef	__size_t	size_t;
37238384Sjkim#define	_SIZE_T_DECLARED
38238384Sjkim#endif
39238384Sjkim
40238384Sjkim#ifndef _SSIZE_T_DECLARED
41238384Sjkimtypedef	__ssize_t	ssize_t;
42238384Sjkim#define	_SSIZE_T_DECLARED
43238384Sjkim#endif
44238384Sjkim
45238384Sjkim__BEGIN_DECLS
46238384Sjkimssize_t	strfmon(char * __restrict, size_t, const char * __restrict, ...);
47238384Sjkim__END_DECLS
48238384Sjkim
49238384Sjkim#endif /* !_MONETARY_H_ */
50238384Sjkim