Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - memchr http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                  memchr

   Usage
   #include <string.h>
   void *memchr(const void *buf1,int c,size_t count);

   Description
   memchr  searches in the buffer, buf, for a byte with the value  of  c.
   The  search  continues  for  count bytes or until  a  value  of  c  is
   encountered.

   Example
   See Mem_package

   Return Value
   memchr  returns  a  pointer  to the location of c  in  buf  if  found,
   otherwise a NULL.


See Also: memcpy memcmp memset strcmp strcat strset strchr

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