%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /glibc-2.29/stdio-common/
Upload File :
Create Path :
Current File : //glibc-2.29/stdio-common/scanf10.c

#include <stdio.h>
#include <string.h>

int
main (int argc, char *argv[])
{
  const char teststring[] = "<tag `word'>";
  int retc, a, b;

  retc = sscanf (teststring, "<%*s `%n%*s%n'>", &a, &b);

  printf ("retc=%d a=%d b=%d\n", retc, a, b);

  return retc == -1 && a == 6 && b == 12 ? 0 : 1;
}

Zerion Mini Shell 1.0