Back to index

glibc  2.9
Defines | Functions
bug-strspn1.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-strspn1.c.

Function Documentation

int main ( void  )

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

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

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

  return 0;