* stdio-common/vfscanf.c: Disallow l flag after ll or L.
[glibc.git] / stdio-common / temptest.c
blob374719896af9f10897f3d5d12d02d04391380638
1 #include <ansidecl.h>
2 #include <stdio.h>
3 #include <string.h>
5 char *files[500];
7 int
8 main ()
10 char *fn;
11 FILE *fp;
12 int i;
14 for (i = 0; i < 500; i++) {
15 fn = __stdio_gen_tempname((CONST char *) NULL,
16 "file", 0, (size_t *) NULL, (FILE **) NULL);
17 if (fn == NULL) {
18 printf ("__stdio_gen_tempname failed\n");
19 exit (1);
21 files[i] = strdup (fn);
22 printf ("file: %s\n", fn);
23 fp = fopen (fn, "w");
24 fclose (fp);
27 for (i = 0; i < 500; i++)
28 remove (files[i]);
30 exit (0);