diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2001-09-05 18:50:56 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2001-09-05 18:50:56 +0000 |
commit | cc30da9d14c00bc9694b974ad6d0e1ea6f98830d (patch) | |
tree | a0e39fc4de8f4a0e23575ff476eb82543763525e /include/monetary.h | |
parent | 9d430a5991d3f64a75fee951a1efab3593207832 (diff) | |
download | src-cc30da9d14c00bc9694b974ad6d0e1ea6f98830d.tar.gz src-cc30da9d14c00bc9694b974ad6d0e1ea6f98830d.zip |
add monetary.h as per POSIX requirement
Notes
Notes:
svn path=/head/; revision=83105
Diffstat (limited to 'include/monetary.h')
-rw-r--r-- | include/monetary.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/monetary.h b/include/monetary.h new file mode 100644 index 000000000000..177d59026f28 --- /dev/null +++ b/include/monetary.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2001 Alexey Zelkin + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _MONETARY_H +#define _MONETARY_H + +#include <sys/cdefs.h> +#include <sys/types.h> +#include <stddef.h> + +__BEGIN_DECLS +ssize_t strfmon(char *, size_t, const char *m, ...); +__END_DECLS + +#endif /* _MONETARY_H */ |