XINU
|
NULL終端された文字列の長さを返す。 More...
Go to the source code of this file.
Functions | |
int | strnlen (const char *s, unsigned int len) |
NULL終端された文字列の長さを返す。NULL終端は長さに含まない。 More... | |
NULL終端された文字列の長さを返す。
文字列を読み取る長さは、ユーザが指定したN Byteを最大長とする。
文字列の長さにNULL終端を含まない。
Definition in file strnlen.c.
int strnlen | ( | const char * | s, |
unsigned int | len | ||
) |
NULL終端された文字列の長さを返す。NULL終端は長さに含まない。
[in] | s | 長さを調べる対象の文字列 |
[in] | len | 読み取る長さの最大長(Byte) |
Definition at line 14 of file strnlen.c.
Referenced by tftpget_mb(), xsh_help(), and xsh_udpecho().