Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

memchr - Search the Buffer by passing value in C



  #include <stdio.h>
  #include <string.h>

  int main(void)
  {
    char *p;

    p = memchr("this is a test", ' ', 14);
    printf(p);

    return 0;
  }