From 8190702bc19453018cd2214c6c228f067b72be97 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Tue, 13 Jan 2009 18:18:31 +0000 Subject: [PATCH] Add wcstof(3) and wcstold(3). ok miod@ --- src/include/wchar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/include/wchar.h b/src/include/wchar.h index 8a2397f6..3c2e60ed 100644 --- a/src/include/wchar.h +++ b/src/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.9 2008/06/26 05:42:04 ray Exp $ */ +/* $OpenBSD: wchar.h,v 1.10 2009/01/13 18:18:31 kettenis Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -146,6 +146,11 @@ long int wcstol(const wchar_t * __restrict, wchar_t ** __restrict, int base); unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict, int base); +#if __ISO_C_VISIBLE >= 1999 +float wcstof(const wchar_t * __restrict, wchar_t ** __restrict); +long double wcstold(const wchar_t * __restrict, wchar_t ** __restrict); +#endif + #if (defined(__GNUC__) && __GNUC__ >= 2 && !defined(__STRICT_ANSI__)) || \ __ISO_C_VISIBLE >= 1999 /* LONGLONG */