15 printf("setting errno to EINTR\n");
18 printf("checking sscanf\n");
20 CHAR str
[] = L("7-11");
24 SSCANF (str
, L(" %i - %i %n"), &i
, &j
, &n
);
25 printf ("found %i-%i (length=%i)\n", i
, j
, n
);
30 printf ("i is %d, expected 7\n", i
);
35 printf ("j is %d, expected 11\n", j
);
40 printf ("n is %d, expected 4\n", j
);
47 #define TEST_FUNCTION do_test ()
48 #include "../test-skeleton.c"