Provided by: manpages-ja-dev_0.5.0.0.20070415-1_all bug
     前
        memchr, memrchr - 文字を探すためにメモリをスゥ礇鵑垢
 
     式
        #include <string.h>
 
        void *memchr(const void *s, int c, size_t n);
 
        void *memrchr(const void *s, int c, size_t n);
 
     明
        memchr()   関数は、ポインタ   s   が指し示すメモリブロックの  先頭の  n
        バイトから文字  c  を探す。  最初に  c  (unsigned  char   と解釈される)
        が見つかった時点で動作が停止する。
 
        memrchr()          関数は          memchr()          関数に似ているが、
        先頭から順方向に探すのではなく、    ポインタ     s     が指し示す     n
        バイトのメモリブロックの 末尾から逆向い肪気后
 
         値
        memchr()    関数と   memrchr()   関数は一致する文字へのポインタを返し、
        もし文字が指定メモリ領域に現れない場合は NULL を返す。
 
     拠
        memchr() 関数は SVr4, 4.3BSD, C99  に準拠する。  memrchr()  関数は  GNU
        拡張であり、glibc 2.1.91 から使用可能である。
 
             
        index(3), rindex(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), str-
        spn(3), strstr(3), wmemchr(3)
 
                                   2003-11-01                         MEMCHR(3)