Lines Matching refs:Archive
452 Archive, /* File descriptor of the archive */ variable
825 if (Archive > 0) { in main()
826 if (close(Archive) != 0) in main()
918 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) { in bfill()
933 if (lseek(Archive, Bufsize, SEEK_REL) < 0) in bfill()
975 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) { in bfill()
1009 if ((rv = g_write(Device, Archive, Buffr.b_out_p, in bflush()
1040 if (fstat(Archive, &statb) < 0) in chgreel()
1050 if (is_floppy(Archive)) in chgreel()
1051 (void) ioctl(Archive, FDEJECT, NULL); in chgreel()
1052 if ((close(Archive) != 0) && (dir == OUTPUT)) in chgreel()
1054 Archive = 0; in chgreel()
1095 if ((Archive = open(str, dir)) < 0) { in chgreel()
1100 (void) g_init(&tmpdev, &Archive); in chgreel()
1107 if ((rv = g_write(Device, Archive, Buffr.b_out_p, in chgreel()
1371 if ((mask & OCI) && (Archive = open(IOfil_p, O_RDONLY)) < 0) { in ckopts()
1377 if ((Archive = open(IOfil_p, O_RDWR)) < 0) { in ckopts()
1385 if ((Archive = open(IOfil_p, oflag, 0777)) < 0) { in ckopts()
5289 if (fstat(Archive, &ArchSt) < 0) in ioerror()
6358 if (lseek(Archive, -(off1 + off2), SEEK_REL) < 0) in scan4trail()
6360 if ((rv = g_read(Device, Archive, Buffr.b_in_p, Bufsize)) < 0) in scan4trail()
6362 if (lseek(Archive, (off_t)-rv, SEEK_REL) < 0) in scan4trail()
6456 Archive = 0; in setup()
6469 Archive = 1; in setup()
6632 else if (fstat(Archive, &ArchSt) < 0) in setup()
6681 if (g_init(&Device, &Archive) < 0) in setup()
6685 if ((Bufsize = g_init(&Device, &Archive)) < 0) in setup()
7730 if (g_read(Device, Archive, buff, Bufsize) < 0) { in skip_bar_volhdr()