Lines Matching refs:a_dstPath
85 copyf(char *a_srcPath, char *a_dstPath, time_t a_mytime) in copyf() argument
112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
116 pt = a_dstPath; in copyf()
119 if (isdir(a_dstPath)) { in copyf()
120 if (mkdir(a_dstPath, 0755)) { in copyf()
121 progerr(ERR_NODIR, a_dstPath, in copyf()
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
135 progerr(ERR_OPEN_WRITE, a_dstPath, errno, in copyf()
146 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); in copyf()
167 if (utime(a_dstPath, ×) != 0) { in copyf()
168 progerr(ERR_MODTIM, a_dstPath, errno, strerror(errno)); in copyf()
199 copyFile(int a_srcFd, int a_dstFd, char *a_srcPath, char *a_dstPath, in copyFile() argument
208 echoDebug(DBG_COPY_FILE, a_srcPath, a_dstPath); in copyFile()
296 progerr(ERR_WRITE, a_dstPath, in copyFile()
339 progerr(ERR_WRITE, a_dstPath, in copyFile()
365 progerr(ERR_WRITE, a_dstPath, in copyFile()