Everything

strlen


文字列の長さを求めます。

[所属]

標準ライブラリ

[指定形式]

#include <string.h>

size_t strlen(const char *s);

[戻り値]

終端を示すnull文字(\0)の前に存在する文字の数を返します。

[詳細説明]

sの指す文字列の長さを求めます。