Back to index

glibc  2.9
Defines | Functions
bug-strpbrk1.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.




int main (void)

Define Documentation

Definition at line 3 of file bug-strpbrk1.c.

Function Documentation

int main ( void  )

Definition at line 9 of file bug-strpbrk1.c.

  const char *a = "abc";
  const char *b = a;

  strpbrk (b++, "");
  if (b != a + 1)
    return 1;

  return 0;