Lines Matching refs:path
20 static bool is_present(const char *path) in is_present() argument
24 return !stat(path, &st); in is_present()
28 static bool is_dir(const char *path) in is_dir() argument
32 if (stat(path, &st)) in is_dir()
43 static int make_parent_dir(const char *path) in make_parent_dir() argument
48 strncpy(tmp, path, sizeof(tmp)); in make_parent_dir()
910 char path[PATH_MAX+1]; in conf_split_config() local
978 d = path; in conf_split_config()
986 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
993 if (make_parent_dir(path)) { in conf_split_config()
999 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()