Lines Matching refs:file
37 * All-in-one function to scanf value(s) from a file.
39 int file_scanf(const char *file, const int lineno,
43 void safe_file_scanf(const char *file, const int lineno,
48 int file_lines_scanf(const char *file, const int lineno,
54 * All-in-one function that lets you printf directly into a file.
56 int file_printf(const char *file, const int lineno,
60 void safe_file_printf(const char *file, const int lineno,
65 void safe_try_file_printf(const char *file, const int lineno,
72 int safe_cp(const char *file, const int lineno,
77 * Safe function to touch a file.
79 * If the file (pathname) does not exist It will be created with
82 * If mode is 0 then the file is created with (0666 & ~umask)
83 * permission or (if the file exists) the permission is not changed.
86 * the access/modification times of the file is set to the current time.
88 int safe_touch(const char *file, const int lineno,
95 int mount_overlay(const char *file, const int lineno, int skip);