Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_fmemchr() find character in buffer (model indepedent)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fmemchr()              Find Character in Buffer (Model Indepedent)

 #include   <string.h>
 #include   <memory.h>

 void _far *_fmemchr(buf, c, count);
 void _far *buf;                Pointer to buffer
 int c;                         Character to find
 size_t count;                  Maximum characters to check

    This is the model independent version of memchr(); it searches for
    and returns a pointer to the first occurance of c in buf. See
    memchr() for more information.

    Returns:        If successful: a pointer to c in buf; NULL
                    otherwise.

 Portability:   Not supported by the ANSI standard.


See Also: memccpy() memchr() memcmp() memcpy() memset()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson