Use C stdio functions for score files and save files.

Switching from Unix file descriptor operations to C standard FILE*
functions will reduce portability problems.
This commit is contained in:
John "Elwin" Edwards 2017-09-15 19:57:54 -04:00
parent f8d1f422c8
commit c661fd79d4
33 changed files with 426 additions and 439 deletions

View file

@ -1300,7 +1300,7 @@ void eat(void);
void eat_gold(struct object *obj);
int effect(struct thing *att, struct thing *def, struct object *weap,
bool thrown, bool see_att, bool see_def);
long encread(char *start, unsigned long size, int inf);
long encread(char *start, unsigned long size, FILE *inf);
long encwrite(char *start, unsigned long size, FILE *outf);
void endit(int sig);
void endmsg(void);