Lines Matching defs:first
295 * break it up into first-name and all-but-last-name
296 * creat(first-name)
297 * write object information to first-name
298 * close(first-name)
300 * link to first-name
308 char *p, *q, *first, *fn, *long_name, dir[2], tname[TERM_NAMES_LENGTH];
312 * first name to be used for the terminal filename.
342 first = m_pathcat(dir, tname);
343 if (first == NULL)
345 if (0 <= stat(first, &sb) && start_time <= sb.st_mtime)
347 if (access(first, W_OK) == -1 && errno != ENOENT) {
348 perror(first);
349 err_abort(m_strmsg(write_err), first);
351 (void) unlink(first);
352 if ((fp = fopen(first, "w")) == NULL)
353 err_abort(m_strmsg(fail_open), first);
354 DEBUG(1, "Created \"%s\".\n", first);
356 err_abort(m_strmsg(write_err), first);
387 if (link(first, fn) < 0) {
399 free(first);
519 * Compile one entry. During the first pass, item_ptr is NULL. In pass