WCSTOL(3) | FreeBSD Library Functions Manual | WCSTOL(3) |
名称
wcstol, wcstoul, wcstoll, wcstoull, wcstoimax, wcstoumax — ワイド文字列の値を long, unsigned long, long long, unsigned long long, intmax_t または uintmax_t 整数に変換するライブラリ
Standard C Library (libc, -lc)書式
#include < wchar.h> long
wcstol( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
unsigned long
wcstoul( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
long long
wcstoll( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
unsigned long long
wcstoull( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
#include < inttypes.h>
intmax_t
wcstoimax( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
uintmax_t
wcstoumax( const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
解説
wcstol(), wcstoul(), wcstoll(), wcstoull(), wcstoimax(), wcstoumax() 関数は、それぞれ strtol(), strtoul(), strtoll(), strtoull(), strtoimax(), strtoumax() 関数のワイド文字版です。詳細についてはそれぞれのマニュアルページ (例えば strtol(3)) を参照してください。規格
wcstol(), wcstoul(), wcstoll(), wcstoull(), wcstoimax(), wcstoumax() 関数は、 ISO/IEC 9899:1999 (“ISO C99”) に適合しています。September 7, 2002 | FreeBSD |