15 lines
246 B
C
15 lines
246 B
C
|
#include <stdio.h>
|
||
|
|
||
|
main()
|
||
|
{
|
||
|
FILE *statFyle;
|
||
|
int i;
|
||
|
|
||
|
if ((statFyle = fopen("/u0/habitat/fredStats", "w")) != NULL) {
|
||
|
for (i=0; i<128; ++i)
|
||
|
putw(0, statFyle);
|
||
|
fclose(statFyle);
|
||
|
} else
|
||
|
fprintf(stderr, "couldn't open stat file!\n");
|
||
|
}
|