Lines Matching refs:fname
295 const char *fname,
327 r = read_full_file(fname, &contents, NULL);
389 r = push(fname, line, key, value, userdata, n_pushed);
434 r = push(fname, line, key, value, userdata, n_pushed);
569 r = push(fname, line, key, value, userdata, n_pushed);
632 const char *fname,
642 r = parse_env_file_internal(NULL, fname, newline, parse_env_file_push, &ap, &n_pushed);
686 int load_env_file(FILE *f, const char *fname, const char *newline, char ***rl) {
693 r = parse_env_file_internal(f, fname, newline, load_env_file_push, &m, NULL);
745 int load_env_file_pairs(FILE *f, const char *fname, const char *newline, char ***rl) {
752 r = parse_env_file_internal(f, fname, newline, load_env_file_push_pairs, &m, NULL);
793 int write_env_file(const char *fname, char **l) {
799 assert(fname);
801 r = fopen_temporary(fname, &f, &p);
812 if (rename(p, fname) >= 0)