Back to index

glibc  2.9
Defines | Functions
bug21.c File Reference
#include <stdio.h>
#include "../test-skeleton.c"

Go to the source code of this file.

Defines

#define TEST_FUNCTION   do_test ()

Functions

static int do_test (void)

Define Documentation

#define TEST_FUNCTION   do_test ()

Definition at line 15 of file bug21.c.


Function Documentation

static int do_test ( void  ) [static]

Definition at line 4 of file bug21.c.

{
  static const char buf[] = " ";
  char *str;

  int r = sscanf (buf, "%as", &str);
  printf ("%d %p\n", r, str);

  return r != -1 || str != NULL;
}

Here is the call graph for this function: