Changeset 582a0b8 in mainline for uspace/dist/src/c/demos/tetris/scores.c
- Timestamp:
- 2017-05-08T19:20:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c8533
- Parents:
- 73db198
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/tetris/scores.c
r73db198 r582a0b8 232 232 233 233 f = fopen("/data/tetris.sco", "wb"); 234 if (f == NULL) { 235 printf("Error creating table\n"); 236 return; 237 } 238 234 239 cnt = fwrite(scores, sizeof(struct highscore), NUMSPOTS, f); 235 240 rc = fclose(f);
Note:
See TracChangeset
for help on using the changeset viewer.