tail head cat sleep
QR code linking to this page

manページ  — ATOI

名称

atoi ASCII 文字列を整数に変換する

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <stdlib.h>

int
atoi(const char *nptr);

解説

atoi() 関数は、 nptr の指す文字列の最初の部分を integer 表現に変換します。

これは次と同等です。

(int)strtol(nptr, (char **)NULL, 10);

関連項目

atof(3), atol(3), strtod(3), strtol(3), strtoul(3)

規格

atoi() 関数は ISO/IEC 9899:1990 ("ISO C90") に適合しています。

ATOI (3) June 4, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

When people say "Drive safe!" I'm like no, a safe is for keeping money, I drive car.
— Artur Bagyants