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

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

Completed in 57 milliseconds