summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcstod.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-03-13 06:29:53 +0000
committertjr <tjr@FreeBSD.org>2003-03-13 06:29:53 +0000
commitdc2fc01c024e4580e7f2bca3873518c3c480d23c (patch)
treeaf686412c6364be7f5f8a5b24bd486ad89d25650 /lib/libc/locale/wcstod.3
parent91e561ec0380182d833b35eb68beb4bd88a55889 (diff)
downloadFreeBSD-src-dc2fc01c024e4580e7f2bca3873518c3c480d23c.zip
FreeBSD-src-dc2fc01c024e4580e7f2bca3873518c3c480d23c.tar.gz
MFp4: Implementations of the wcstof() and wcstold() functions.
Diffstat (limited to 'lib/libc/locale/wcstod.3')
-rw-r--r--lib/libc/locale/wcstod.332
1 files changed, 24 insertions, 8 deletions
diff --git a/lib/libc/locale/wcstod.3 b/lib/libc/locale/wcstod.3
index 970dd4b..6d4c944 100644
--- a/lib/libc/locale/wcstod.3
+++ b/lib/libc/locale/wcstod.3
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2002 Tim J. Robbins
+.\" Copyright (c) 2002, 2003 Tim J. Robbins
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,31 +24,47 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 12, 2002
+.Dd February 22, 2003
.Dt WCSTOD 3
.Os
.Sh NAME
-.Nm wcstod
-.Nd "convert string to double"
+.Nm wcstof ,
+.Nm wcstod ,
+.Nm wcstold
+.Nd "convert string to float, double or long double"
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In wchar.h
+.Ft float
+.Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
+.Ft long double
+.Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
.Ft double
.Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
.Sh DESCRIPTION
The
+.Fn wcstof ,
.Fn wcstod
-function is the wide-character version of the
+and
+.Fn wcstold
+functions are the wide-character versions of the
+.Fn strtof ,
.Fn strtod
-function.
+and
+.Fn strtold
+functios.
Refer to
.Xr strtod 3
for details.
.Sh SEE ALSO
-.Xr strtod 3
+.Xr strtod 3 ,
+.Xr wcstol 3 ,
.Sh STANDARDS
The
+.Fn wcstof ,
.Fn wcstod
-function conforms to
+and
+.Fn wcstold
+functions conform to
.St -isoC-99 .
OpenPOWER on IntegriCloud