monetary.h revision 87659
1279377Simp/*- 2279377Simp * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org> 3279377Simp * All rights reserved. 4279377Simp * 5279377Simp * Redistribution and use in source and binary forms, with or without 6279377Simp * modification, are permitted provided that the following conditions 7279377Simp * are met: 8279377Simp * 1. Redistributions of source code must retain the above copyright 9279377Simp * notice, this list of conditions and the following disclaimer. 10279377Simp * 2. Redistributions in binary form must reproduce the above copyright 11279377Simp * notice, this list of conditions and the following disclaimer in the 12279377Simp * documentation and/or other materials provided with the distribution. 13279377Simp * 14279377Simp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15279377Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16279377Simp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17279377Simp * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18279377Simp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19279377Simp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20279377Simp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21279377Simp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22279377Simp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23279377Simp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24279377Simp * SUCH DAMAGE. 25279377Simp * 26279377Simp * $FreeBSD: head/include/monetary.h 87659 2001-12-11 16:00:47Z phantom $ 27279377Simp */ 28279377Simp 29279377Simp#ifndef _MONETARY_H 30279377Simp#define _MONETARY_H 31279377Simp 32279377Simp#include <sys/cdefs.h> 33279377Simp#include <machine/ansi.h> 34279377Simp 35279377Simp#ifdef _BSD_SIZE_T_ 36279377Simptypedef _BSD_SIZE_T_ size_t; 37279377Simp#undef _BSD_SIZE_T_ 38279377Simp#endif 39279377Simp 40279377Simp#ifdef _BSD_SSIZE_T_ 41279377Simptypedef _BSD_SSIZE_T_ ssize_t; 42279377Simp#undef _BSD_SSIZE_T_ 43279377Simp#endif 44279377Simp 45279377Simp__BEGIN_DECLS 46279377Simpssize_t strfmon(char *, size_t, const char *, ...); 47279377Simp__END_DECLS 48279377Simp 49279377Simp#endif /* !_MONETARY_H */ 50279377Simp