Paul Eggert wrote: > section 6.2.6.1: > ... > Here again, the intent is that memcmp(&x, &y, sizeof (T)) compares all > the bits in the underlying representation. The only way to do that > portably is via "unsigned char *".
OK. Here's a proposed patch for the memmem function. Bruno