Lines Matching defs:from
14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi)
23 from_fp = fopen(from, "r");
73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode,
83 err = stat(from, &st);
105 err = slow_copyfile(from, tmp, nsi);
115 fromfd = open(from, O_RDONLY);
133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi)
135 return copyfile_mode_ns(from, to, 0755, nsi);
138 int copyfile_mode(const char *from, const char *to, mode_t mode)
140 return copyfile_mode_ns(from, to, mode, NULL);
143 int copyfile(const char *from, const char *to)
145 return copyfile_mode(from, to, 0755);