tail head cat sleep
QR code linking to this page

manページ  — STRCSPN

名称

strcspn – 文字列の補集合の長さを測る

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <string.h>

size_t
strcspn(const char *s, const char *charset);

解説

strcspn() 関数は、ヌル文字で終了する文字列 s から文字列 charset にない文字列の長さだけ s の最初の部分の長さを測ります (, charset 補集合 の長さを測ります)。

戻り値

strcspn() 関数は測られた文字の数を返します。

関連項目

memchr(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3)

規格

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

STRCSPN (3) June 4, 1993

tail head cat sleep
QR code linking to this page


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

You have successfully logged in, Now press any key to log out