X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..15de9d6b4ab2de27ae24b13b7b6c4d55fffe4aef:/locale/FreeBSD/wcstod.3?ds=sidebyside diff --git a/locale/FreeBSD/wcstod.3 b/locale/FreeBSD/wcstod.3 index 25a8fcd..9595d07 100644 --- a/locale/FreeBSD/wcstod.3 +++ b/locale/FreeBSD/wcstod.3 @@ -22,44 +22,64 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.3 2003/03/13 06:29:53 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.4 2003/05/22 13:02:27 ru Exp $ .\" .Dd February 22, 2003 .Dt WCSTOD 3 .Os .Sh NAME -.Nm wcstof , .Nm wcstod , +.Nm wcstof , .Nm wcstold -.Nd "convert string to float, double or long double" +.Nd convert string to +.Vt float , +.Vt double , +or +.Vt "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" +.Fo wcstod +.Fa "const wchar_t *restrict nptr" +.Fa "wchar_t **restrict endptr" +.Fc +.Ft float +.Fo wcstof +.Fa "const wchar_t *restrict nptr" +.Fa "wchar_t **restrict endptr" +.Fc +.Ft "long double" +.Fo wcstold +.Fa "const wchar_t *restrict nptr" +.Fa "wchar_t **restrict endptr" +.Fc .Sh DESCRIPTION The .Fn wcstof , -.Fn wcstod +.Fn wcstod , and .Fn wcstold functions are the wide-character versions of the .Fn strtof , -.Fn strtod +.Fn strtod , and .Fn strtold -functios. +functions. Refer to .Xr strtod 3 for details. +.Pp +Extended locale versions of these functions are documented in +.Xr wcstod_l 3 . +See +.Xr xlocale 3 +for more information. .Sh SEE ALSO .Xr strtod 3 , -.Xr wcstol 3 , +.Xr wcstod_l 3 , +.Xr wcstol 3 .Sh STANDARDS The .Fn wcstof ,