Home
last modified time | relevance | path

Searched refs:Playersfp (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/games/phantasia/
Dmain.c325 if ((Playersfp = fopen(_PATH_PEOPLE, "r+")) == NULL) in initialstate()
328 if (fileno(Playersfp) < 3) in initialstate()
680 fseek(Playersfp, 0L, SEEK_SET); in titlelist()
681 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist()
697 fseek(Playersfp, 0L, SEEK_SET); in titlelist()
698 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist()
709 fseek(Playersfp, 0L, SEEK_SET); in titlelist()
711 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist()
729 fseek(Playersfp, 0L, SEEK_SET); in titlelist()
730 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist()
[all …]
Dinterplayer.c33 fseek(Playersfp, 0L, SEEK_SET); in checkbattle()
35 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in checkbattle()
525 fseek(Playersfp, 0L, SEEK_SET); in tampered()
527 … while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in tampered()
561 fseek(Playersfp, 0L, SEEK_SET); in userlist()
565 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in userlist()
623 fseek(Playersfp, 0L, SEEK_SET); in throneroom()
624 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in throneroom()
Dmisc.c530 fseek(Playersfp, 0L, SEEK_SET); in findname()
531 while (fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in findname()
548 fseek(Playersfp, 0L, SEEK_SET); in allocrecord()
549 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in allocrecord()
696 fseek(Playersfp, place, SEEK_SET); in writerecord()
697 fwrite((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); in writerecord()
698 fflush(Playersfp); in writerecord()
774 fseek(Playersfp, loc, SEEK_SET); in readrecord()
775 fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); in readrecord()
Dgamesupport.c481 fseek(Playersfp, 0L, SEEK_SET); in activelist()
484 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in activelist()
505 fseek(Playersfp, loc, SEEK_SET); in purgeoldplayers()
506 if (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1) in purgeoldplayers()
Dphantglobs.c111 FILE *Playersfp; /* pointer to open player file */ variable
Dphantglobs.h46 extern FILE *Playersfp; /* pointer to open player file */