/* Begin mkfile.c.  A short program to create a 2GB file filled with the numbers1 through 225,000,000. */

#include <stdio.h>

        int     i;
        FILE    *f;

main()
{       
        f = fopen("bigfile.txt", "w");
        i = 0;
        while (i <= 225000000){
                fprintf ( f, "%d\n", i );
                i++;
        }
        fclose(f);
}
/* end mkfile.c */
