Searched refs:rawscores (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/games/snake/snake/ |
H A D | snake.c | 112 static int rawscores; variable 146 rawscores = open(SNAKE_PATH_RAWSCORES, O_RDWR|O_CREAT, 0664); in main() 147 if (rawscores < 0) { in main() 150 } else if (rawscores < 3) in main() 531 if (rawscores < 0) { in post() 536 read(rawscores, &allbscore, sizeof(short)); in post() 537 read(rawscores, &allbwho, sizeof(short)); in post() 538 lseek(rawscores, uid * sizeof(short), SEEK_SET); in post() 539 read(rawscores, &oldbest, sizeof(short)); in post() 541 lseek(rawscores, 0, SEEK_SET); in post() [all …]
|