source: branches/libc-0.6/src/emx/testcase/misc/tmpfile-1.c

Last change on this file was 1813, checked in by bird, 20 years ago

dosex leak/alloc error testcase.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 210 bytes
Line 
1#include <stdio.h>
2
3int main()
4{
5 int i;
6 for (i = 1; i < 20000; i++)
7 {
8 FILE *pFile = tmpfile();
9 fclose(pFile);
10 printf("%d ", i);
11 fflush(stdout);
12 }
13 return 0;
14}
Note: See TracBrowser for help on using the repository browser.