From ae36f7fa11ba3a91c7f8fb688683282a5042d5b7 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Fri, 1 Jul 2005 08:59:28 +0000 Subject: Add a few missing functions so that wctype.h/wchar.h are more or less uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans crank minor. okay millert@, jmc@. --- lib/libc/locale/wcstoll.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/libc/locale/wcstoll.c (limited to 'lib/libc/locale/wcstoll.c') 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 +#include +#include +#include +#include +#include + +#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" -- cgit v1.2.3