Lines Matching defs:srcFd
89 int srcFd;
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);
187 * Arguments: int srcFd - file descriptor open on source file