tail head cat sleep
QR code linking to this page

manページ  — MEMCHR

名称

memchr – バイト列中のバイトの位置を示す

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <string.h>

void *
memchr(const void *b, int c, size_t len);

解説

memchr() 関数は、 バイト列 b 中で (unsigned char に変換された) c が最初に見つかった位置を示します。

戻り値

memchr() 関数は、該当するバイトのポインタ、 または該当するバイトが len 個のバイト中に存在しない時は NULL を返します。

関連項目

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

規格

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

MEMCHR (3) June 4, 1993

tail head cat sleep
QR code linking to this page


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

The most important thing in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language.
— Donald Knuth