Lines Matching defs:games
249 char line[256], games[256];
251 (void)strlcpy(games, _PATH_GAMES, 256);
252 (void)strlcat(games, GAMES, 256);
254 if ((fp = fopen(games, "r")) == NULL) {
255 warn("fopen %s", games);
259 (void)fprintf(stderr, "%s: no default game available\n", games);
276 char line[256], games[256];
278 (void)strlcpy(games, _PATH_GAMES, 256);
279 (void)strlcat(games, GAMES, 256);
281 if ((fp = fopen(games, "r")) == NULL) {
282 warn("fopen %s", games);
298 (void)fprintf(stderr, "%s: %s: game not found\n", games, s);
309 char line[256], games[256];
312 (void)strlcpy(games, _PATH_GAMES, 256);
313 (void)strlcat(games, GAMES, 256);
315 if ((fp = fopen(games, "r")) == NULL) {
316 warn("fopen %s", games);
319 (void)puts("available games:");
326 (void)fprintf(stderr, "%s: no games available\n", games);