create.h
unknown
plain_text
a year ago
528 B
3
Indexable
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <unistd.h> 4 #include <sys/types.h> 5 #include <sys/stat.h> 6 #include <dirent.h> 7 #include <fcntl.h> 8 #include <pwd.h> 9 #include <grp.h> 10 #include <errno.h> 11 #include <string.h> 12 #include "options.h" 13 14 #ifndef CH 15 #define CH 16 17 int create_archive(char *tarfile); 18 19 void archive_file(int fd, char *curr_path, char *path_name); 20 21 char *create_full_path(char *curr_path, char *file_name, mode_t file_mode); 22 23 #endif
Editor is loading...
Leave a Comment