Home
last modified time | relevance | path

Searched refs:dest_file (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/tools/install.bin/
H A Dinstall.bin.c46 static void file_copy(char *src_file, char *dest_file);
61 file_copy(char *src_file, char *dest_file) in file_copy() argument
74 if ((dest_fd = open(dest_file, O_CREAT|O_WRONLY|O_TRUNC, 0755)) == -1) { in file_copy()
76 "(%d): %s\n", dest_file, errno, strerror(errno)); in file_copy()
91 (void) printf("%s installed as %s\n", src_file, dest_file); in file_copy()
167 char dest_file[MAXPATHLEN]; in main() local
223 (void) strlcpy(dest_file, ins_file, MAXPATHLEN); in main()
226 (void) strcat(strcat(strcpy(dest_file, dirb), "/"), in main()
228 file_copy(ins_file, dest_file); in main()
232 chown_file(dest_file, group, owner); in main()
[all …]