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