sourCEntral - mobile manpages

pdf

WCSTOIMAX

名前

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_tuintmax_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.79 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man−pages/ に書かれている。

pdf