Searched defs:a_dstPath (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcppath.c82 * - a_dstPath - path to copy source to
90 cppath(int a_ctrl, char *a_srcPath, char *a_dstPath, mode_t a_mode) argument
102 echoDebug(DBG_CPPATH_ENTRY, a_ctrl, a_mode, a_srcPath, a_dstPath);
139 logerr(WRN_DEF_MODE, a_dstPath);
153 dstFd = write_file(&linknam, a_ctrl, a_mode, a_dstPath);
163 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0);
180 if ((linknam != (char *)NULL) && (rename(linknam, a_dstPath) != 0)) {
189 progerr(ERR_OUTPUT_WRITING, a_dstPath, errno,
219 if (utime(a_dstPath, &times) != 0) {
220 progerr(ERR_MODTIM, a_dstPath, errn
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c85 copyf(char *a_srcPath, char *a_dstPath, time_t a_mytime) argument
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,
199 copyFile(int a_srcFd, int a_dstFd, char *a_srcPath, char *a_dstPath, struct stat *a_srcStatbuf, long a_iosize) argument
[all...]

Completed in 57 milliseconds