summaryrefslogtreecommitdiff
path: root/lib/libc/locale/wcstoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/wcstoll.c')
-rw-r--r--lib/libc/locale/wcstoll.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libc/locale/wcstoll.c b/lib/libc/locale/wcstoll.c
new file mode 100644
index 00000000000..1ccafa489f3
--- /dev/null
+++ b/lib/libc/locale/wcstoll.c
@@ -0,0 +1,22 @@
+/* $OpenBSD: wcstoll.c,v 1.1 2005/07/01 08:59:27 espie Exp $ */
+/* $NetBSD: wcstoll.c,v 1.1 2003/03/11 09:21:23 tshiozak Exp $ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+static char rcsid[] = "$OpenBSD: wcstoll.c,v 1.1 2005/07/01 08:59:27 espie Exp $";
+#endif /* LIBC_SCCS and not lint */
+
+#include <ctype.h>
+#include <errno.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <wchar.h>
+#include <wctype.h>
+
+#include "wctoint.h"
+
+#define FUNCNAME wcstoll
+typedef long long int int_type;
+#define MIN_VALUE LLONG_MIN
+#define MAX_VALUE LLONG_MAX
+
+#include "_wcstol.h"