Lines Matching refs:outfd
279 static int outfd = 0;
364 pwrite(outfd, (void*)buf, size, chunk_start);
400 my_sync(outfd);
435 outfd = open(argv[1], O_RDWR | O_CREAT | O_TRUNC, 0644);
436 if (outfd == -1){
442 if ( ftruncate(outfd, FSIZE)){
451 if ( -1 == write(outfd, buffer, CLUSTERSIZE)){
457 if (-1 == lseek(outfd, 0, SEEK_SET)){
502 if (verify_file(outfd, patterns[pat])) {
508 if (close(outfd)){