wcstoimax, wcstoumax -
ワイド文字文字列を整数に変換する
#include <stddef.h>
#include <inttypes.h>
intmax_t wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base);
uintmax_t wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base);
これらの関数はちょうど
wcstol(3) と
wcstoul(3)
に似ているが、それぞれ
intmax_t と
uintmax_t
型の値を返す。
マルチスレッディング (pthreads(7) 参照)¶
関数
wcstoimax() と
wcstoumax()
は、例外付きのスレッドセーフである。実行中に
setlocale(3)
を呼び出してロケールを変更しない限り、マルチスレッドアプリケーションで安全に使用することができる。
C99.
関連項目¶
imaxabs(3),
imaxdiv(3),
strtoimax(3),
strtoumax(3),
wcstol(3),
wcstoul(3)
この文書について¶
この man ページは Linux
man-pages
プロジェクトのリリース
3.65 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man-pages/
に書かれている。