monetary.h revision 103667
1154899Srik/*-
2154899Srik * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
3154899Srik * All rights reserved.
4154899Srik *
5154899Srik * Redistribution and use in source and binary forms, with or without
6154899Srik * modification, are permitted provided that the following conditions
7154899Srik * are met:
8154899Srik * 1. Redistributions of source code must retain the above copyright
9154899Srik *    notice, this list of conditions and the following disclaimer.
10154899Srik * 2. Redistributions in binary form must reproduce the above copyright
11154899Srik *    notice, this list of conditions and the following disclaimer in the
12154899Srik *    documentation and/or other materials provided with the distribution.
13154899Srik *
14154899Srik * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15154899Srik * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16154899Srik * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17154899Srik * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18154899Srik * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19154899Srik * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20154899Srik * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21154899Srik * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22154899Srik * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23154899Srik * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24154899Srik * SUCH DAMAGE.
25154899Srik *
26154899Srik * $FreeBSD: head/include/monetary.h 103667 2002-09-20 08:22:48Z mike $
27154899Srik */
28154899Srik
29154899Srik#ifndef _MONETARY_H_
30154899Srik#define	_MONETARY_H_
31154899Srik
32164033Srwatson#include <sys/cdefs.h>
33154899Srik#include <sys/_types.h>
34154899Srik
35154899Srik#ifndef _SIZE_T_DECLARED
36154899Sriktypedef	__size_t	size_t;
37154899Srik#define	_SIZE_T_DECLARED
38154899Srik#endif
39154899Srik
40154899Srik#ifndef _SSIZE_T_DECLARED
41154899Sriktypedef	__ssize_t	ssize_t;
42154899Srik#define	_SSIZE_T_DECLARED
43154899Srik#endif
44154899Srik
45154899Srik__BEGIN_DECLS
46154899Srikssize_t	strfmon(char * __restrict, size_t, const char * __restrict, ...);
47154899Srik__END_DECLS
48154899Srik
49154899Srik#endif /* !_MONETARY_H_ */
50154899Srik