XINU
lib
strlen.c
Go to the documentation of this file.
1
11
int
strlen
(
char
*str)
12
{
13
int
len;
14
15
len = 0;
16
17
while
(*str++ !=
'\0'
)
18
{
19
len++;
20
}
21
return
len;
22
}
strlen
int strlen(char *str)
NULL終端された文字列の長さを返す。NULL終端は長さに含まない。
Definition:
strlen.c:11
Generated by
1.8.13