summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2001-09-05 18:50:56 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2001-09-05 18:50:56 +0000
commitcc30da9d14c00bc9694b974ad6d0e1ea6f98830d (patch)
treea0e39fc4de8f4a0e23575ff476eb82543763525e
parent9d430a5991d3f64a75fee951a1efab3593207832 (diff)
Notes
-rw-r--r--include/Makefile2
-rw-r--r--include/monetary.h40
2 files changed, 41 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index eccd7940dd69..41a3625f4c88 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -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 \
fts.h glob.h grp.h strhash.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 \
paths.h pthread.h pthread_np.h pwd.h \
ranlib.h regex.h regexp.h resolv.h rune.h runetype.h \
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 */