monetary.h revision 87744
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: head/include/monetary.h 87744 2001-12-12 15:41:08Z phantom $ 2783105Sphantom */ 2883105Sphantom 2987744Sphantom#ifndef _MONETARY_H_ 3087744Sphantom#define _MONETARY_H_ 3183105Sphantom 3283105Sphantom#include <sys/cdefs.h> 3384441Sbde#include <machine/ansi.h> 3483105Sphantom 3584441Sbde#ifdef _BSD_SIZE_T_ 3684441Sbdetypedef _BSD_SIZE_T_ size_t; 3784441Sbde#undef _BSD_SIZE_T_ 3884441Sbde#endif 3984441Sbde 4084441Sbde#ifdef _BSD_SSIZE_T_ 4184441Sbdetypedef _BSD_SSIZE_T_ ssize_t; 4284441Sbde#undef _BSD_SSIZE_T_ 4384441Sbde#endif 4484441Sbde 4583105Sphantom__BEGIN_DECLS 4684442Sbdessize_t strfmon(char *, size_t, const char *, ...); 4783105Sphantom__END_DECLS 4883105Sphantom 4987744Sphantom#endif /* !_MONETARY_H_ */ 50