Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c49 static void file_copy(char *src_file, char *dest_file);
64 file_copy(char *src_file, char *dest_file) in file_copy() argument
77 if ((dest_fd = open(dest_file, O_CREAT|O_WRONLY|O_TRUNC, 0755)) == -1) { in file_copy()
79 "(%d): %s\n", dest_file, errno, strerror(errno)); in file_copy()
94 (void) printf("%s installed as %s\n", src_file, dest_file); in file_copy()
170 char dest_file[MAXPATHLEN]; in main() local
226 (void) strlcpy(dest_file, ins_file, MAXPATHLEN); in main()
229 (void) strcat(strcat(strcpy(dest_file, dirb), "/"), in main()
231 file_copy(ins_file, dest_file); in main()
235 chown_file(dest_file, group, owner); in main()
[all …]