Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c90 int dstFd; in copyf() local
112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
114 if (dstFd < 0) { in copyf()
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
134 if (dstFd < 0) { in copyf()
146 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); in copyf()
149 (void) close(dstFd); in copyf()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcppath.c93 int dstFd; in cppath() local
153 dstFd = write_file(&linknam, a_ctrl, a_mode, a_dstPath); in cppath()
154 if (dstFd < 0) { in cppath()
163 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); in cppath()
166 (void) close(dstFd); in cppath()