Home | History | Annotate | Download | only in util

Lines Matching defs:ofd

93 	long		lb, i, fd, ofd, bs, block, numblocks;
135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
136 if (ofd < 0) {
160 if (lseek64(ofd, should_be, SEEK_SET) == (off_t) -1) {
177 lseek(ofd, bs, SEEK_CUR);
182 got2 = write(ofd, buf, got);
190 if (fstat64(ofd, &fileinfo) < 0) {
195 lseek64(ofd, offset-1, SEEK_CUR);
197 write(ofd, buf, 1);
200 close(ofd);