Home | History | Annotate | Download | only in util

Lines Matching defs:file

153 	char *file;
159 file = malloc_or_die(strlen(tracing) + strlen(name) + 2);
161 sprintf(file, "%s/%s", tracing, name);
162 return file;
165 static void put_tracing_file(char *file)
167 free(file);
214 static unsigned long long copy_file(const char *file)
219 fd = open(file, O_RDONLY);
221 die("Can't read '%s'", file);
245 static unsigned long get_size(const char *file)
250 fd = open(file, O_RDONLY);
252 die("Can't read '%s'", file);
358 die("error in size of file '%s'", format);
456 die("error in size of file '%s'", path);
479 die("error in size of file '%s'", path);