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