Lines Matching refs:suffix
413 const char *suffix;
417 static char *rolling_append(char *current, const char *suffix, size_t max)
423 if (!suffix)
427 suffix_size = strlen(suffix);
442 /* Append any given suffix */
445 strcpy(to, suffix);
462 static FILE *open_file(const char *path, const char *suffix,
471 * Rolling append of suffix. Try to open with path.suffix then the
472 * next as path.suffix.suffix and so forth.
475 { .suffix = suffix },
476 { .suffix = "bin" }
487 /* This handles the case if suffix is null */
488 path = rolling_append(stack_path, fdetails[i].suffix,
532 static int process_file(const char *path, const char *suffix,
548 fp = open_file(path, suffix, found_path, sizeof(found_path),