Lines Matching refs:Archive

461 	Archive,	/* File descriptor of the archive */  variable
834 if (Archive > 0) { in main()
835 if (close(Archive) != 0) in main()
927 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) { in bfill()
942 if (lseek(Archive, Bufsize, SEEK_REL) < 0) in bfill()
984 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) { in bfill()
1018 if ((rv = g_write(Device, Archive, Buffr.b_out_p, in bflush()
1049 if (fstat(Archive, &statb) < 0) in chgreel()
1059 if (is_floppy(Archive)) in chgreel()
1060 (void) ioctl(Archive, FDEJECT, NULL); in chgreel()
1061 if ((close(Archive) != 0) && (dir == OUTPUT)) in chgreel()
1063 Archive = 0; in chgreel()
1104 if ((Archive = open(str, dir)) < 0) { in chgreel()
1109 (void) g_init(&tmpdev, &Archive); in chgreel()
1116 if ((rv = g_write(Device, Archive, Buffr.b_out_p, in chgreel()
1380 if ((mask & OCI) && (Archive = open(IOfil_p, O_RDONLY)) < 0) { in ckopts()
1386 if ((Archive = open(IOfil_p, O_RDWR)) < 0) { in ckopts()
1394 if ((Archive = open(IOfil_p, oflag, 0777)) < 0) { in ckopts()
5297 if (fstat(Archive, &ArchSt) < 0) in ioerror()
6369 if (lseek(Archive, -(off1 + off2), SEEK_REL) < 0) in scan4trail()
6371 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) in scan4trail()
6373 if (lseek(Archive, (off_t)-rv, SEEK_REL) < 0) in scan4trail()
6467 Archive = 0; in setup()
6480 Archive = 1; in setup()
6643 else if (fstat(Archive, &ArchSt) < 0) in setup()
6692 if (g_init(&Device, &Archive) < 0) in setup()
6696 if ((Bufsize = g_init(&Device, &Archive)) < 0) in setup()
7749 if (g_read(Device, Archive, buff, Bufsize) < 0) { in skip_bar_volhdr()