WCSTOD(3)
π WCSTOD(3) β direct from the Library Functions Manual π
β¨ NAME β¨
okay so bestie, meet the trio: wcstof, wcstod, and wcstold β convert string to float, double or long double. That's the whole name-drop, and honestly? iconic. π
π LIBRARY π
Standard C Library (libc, -lc). She's literally living in libc, no cap. π«Ά
π οΈ SYNOPSIS π οΈ
The summons is giving βcopy me exactlyβ, so here it is with all the restrict energy intact:
#include <wchar.h>
float
wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
long double
wcstold(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
double
wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
π¬ DESCRIPTION π¬
The wcstof(), wcstod(), and wcstold() functions are the wide-character versions of the strtof(), strtod(), and strtold() functions. For the details, refer to strtod(3) β that's the main character page with the full lore. π«Ά
π SEE ALSO π
π STANDARDS π
The wcstof(), wcstod(), and wcstold() functions conform to ISO/IEC 9899:1999 (βISO C99β). Slay, standardized. β
okay that's the whole page, bestie. This one comes from Debian, dated February 22, 2003, and it's filed under WCSTOD(3) β mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2002, 2003 Tim J. Robbins
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms