◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The memchr and _fmemchr functions look for the first occurrence of <c> in the first <count> bytes of <buf>. They stop when they find <c> or after checking the first <count> bytes. The _fmemchr function is a model-independent (large model) form of the memchr function and can be called from any point in any program. Return Value If successful, memchr and _fmemchr return a pointer (or a far pointer) to the first location of <c> in <buf>. Otherwise, they return NULL. -♦-