Searched defs:srcFd (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 95 int srcFd; local 106 srcFd = open(a_srcPath, O_RDONLY); 107 if (srcFd < 0) { 115 if (fstat(srcFd, &srcStatbuf) != 0) { 116 progerr(ERR_FSTAT, srcFd, a_srcPath, errno, strerror(errno)); 117 (void) close(srcFd); 155 (void) close(srcFd); 163 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); 165 (void) close(srcFd);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 89 int srcFd; local 96 srcFd = open(a_srcPath, O_RDONLY, 0); 97 if (srcFd < 0) { 104 if (fstat(srcFd, &srcStatbuf) != 0) { 105 progerr(ERR_FSTAT, srcFd, a_srcPath, errno, strerror(errno)); 106 (void) close(srcFd); 124 (void) close(srcFd); 137 (void) close(srcFd); 146 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); 148 (void) close(srcFd); [all...] |
Completed in 54 milliseconds