mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
add monetary.h as per POSIX requirement
This commit is contained in:
parent
9d430a5991
commit
cc30da9d14
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83105
@ -13,7 +13,7 @@ FILES= a.out.h ar.h assert.h bitstring.h complex.h ctype.h db.h \
|
|||||||
dlfcn.h elf.h elf-hints.h err.h fnmatch.h fstab.h \
|
dlfcn.h elf.h elf-hints.h err.h fnmatch.h fstab.h \
|
||||||
fts.h glob.h grp.h strhash.h \
|
fts.h glob.h grp.h strhash.h \
|
||||||
hesiod.h histedit.h ieeefp.h ifaddrs.h iso646.h langinfo.h \
|
hesiod.h histedit.h ieeefp.h ifaddrs.h iso646.h langinfo.h \
|
||||||
libgen.h limits.h link.h locale.h malloc.h memory.h mpool.h \
|
libgen.h limits.h link.h locale.h malloc.h monetary.h memory.h mpool.h \
|
||||||
netconfig.h ndbm.h netdb.h nl_types.h nlist.h nsswitch.h objformat.h \
|
netconfig.h ndbm.h netdb.h nl_types.h nlist.h nsswitch.h objformat.h \
|
||||||
paths.h pthread.h pthread_np.h pwd.h \
|
paths.h pthread.h pthread_np.h pwd.h \
|
||||||
ranlib.h regex.h regexp.h resolv.h rune.h runetype.h \
|
ranlib.h regex.h regexp.h resolv.h rune.h runetype.h \
|
||||||
|
40
include/monetary.h
Normal file
40
include/monetary.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user