home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
TEXTUTIL.ZIP
/
CDWDEPRT.FNC
< prev
next >
Wrap
Text File
|
1984-09-16
|
751b
|
28 lines
/* <CDWDEPRT.FNC> */
wideprt(i,vol,year,month,day,freespace,out2)
int i,year,month,day;
long int freespace;
char vol[];
FILE *out2;
{
/* to disk, by volume */
int j;
if (i == 0)
fprintf(out2,"\n\n\t\t\t\t\t\t\tVol %s FreeSpace %6ld\n\n\t",vol,freespace);
if (dptr[i] -> fattrib == 8)
;
else {
fprintf(out2,"\t");
for(j = 0; j < 8; fprintf(out2,"%c",dptr[i] -> filename[j++]));
fprintf(out2,".");
for(j = 0; j < 3; fprintf(out2,"%c",dptr[i] -> ext[j++]));
fprintf(out2," %6lu ", dptr[i] -> size);
fprintf(out2," %02d/%02d/%02d ",month,day,year);
if((i+1) % 3 == 0)
fprintf(out2,"\n\t");
}
}