diff options
| author | akiyamn | 2020-09-04 17:22:54 +1000 |
|---|---|---|
| committer | akiyamn | 2020-09-04 17:22:54 +1000 |
| commit | 635be7a4fa2c172a8aeffa788e8cf172f10831dc (patch) | |
| tree | e1d19bab5b718da2b748a7478d50407e4e54e921 /fileutil.h | |
| parent | 6da84c22429d4334dec575f6dd302594c33f303d (diff) | |
| download | fit2100_ass1-635be7a4fa2c172a8aeffa788e8cf172f10831dc.tar.gz fit2100_ass1-635be7a4fa2c172a8aeffa788e8cf172f10831dc.zip | |
Fixed creation of file
Diffstat (limited to 'fileutil.h')
| -rw-r--r-- | fileutil.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3,7 +3,12 @@ void to_stdout(char *string); void to_stderr(char *string); +int open_file(char *path, int flags); +void file_into_file(int source_fd, int dest_fd); void print_file(char *read_path); +void copy_file(char *read_path, char *write_path, int overwrite); +char* get_filename(char *full_path); +void copy_into_dir(char *file_path, char *dir_path); int main(int argc, char *argv[]); #endif
\ No newline at end of file |
