1 2 3 4 5 6 7 8 9 10
#define _GNU_SOURCE #include <string.h> #include <stdlib.h> #include <stdio.h> int main(void) { char b = 1, c = 1; return memmem(&b, 1, &c, 1) == NULL ? 1 : 0; }