Lines Matching defs:afile
80 FILE *p_bookmark; /* pointer to afile */
82 static char afile[NAMESIZE]; /* file with line count for book marks */
111 (void) strncpy(afile, BASENAME(file, '/'), NAMESIZE);
112 afile[NAMESIZE-1] = NULLCHAR;
113 *afile = BOOKMARK_PRE; /* make up name by replacing C with A */
115 p_bookmark = fopen(afile, "r");
134 (void) unlink(afile);
149 (void) unlink(afile);
155 p_bookmark = fopen(afile, "w"); /* update bookmark file */
157 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
159 chmod(afile, CFILEMODE);