Lines Matching defs:save
29 * cksaved - check for an orphaned save file
53 char save[MAXFILENAME], mail[MAXFILENAME];
56 cat(save, mailsave, user);
59 * If no save file, or size is 0, return.
61 if ((stat(save, &stbuf) != 0) || (stbuf.st_size == 0))
72 * Restore from the save file by linking
73 * it to $MAIL then unlinking save file
75 chmod(save, MFMODE);
77 if (link(save, mail) != 0) {
83 if (unlink(save) != 0) {
89 if (rename(save, mail) != 0) {
111 if ((Istream = fopen(save, "r")) == NULL) {
113 "file '%s' for reading\n", program, save);
122 if (unlink(save) != 0) {
123 perror("Unlink of save file failed");
128 "echo \"Your mail save file has just been appended "