home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / USCX / TEXTUTIL.ZIP / CDWDEPRT.FNC < prev    next >
Text File  |  1984-09-16  |  751b  |  28 lines

  1. /* <CDWDEPRT.FNC> */
  2.  
  3. wideprt(i,vol,year,month,day,freespace,out2)
  4. int i,year,month,day;
  5. long int freespace;
  6. char vol[];
  7. FILE *out2;
  8.  
  9. {
  10.                   /* to disk, by volume */
  11.    int j;
  12.    if (i == 0)
  13.       fprintf(out2,"\n\n\t\t\t\t\t\t\tVol %s FreeSpace %6ld\n\n\t",vol,freespace);
  14.    if (dptr[i] -> fattrib == 8)
  15.       ;
  16.       else {
  17.          fprintf(out2,"\t");
  18.          for(j = 0; j < 8; fprintf(out2,"%c",dptr[i] -> filename[j++]));
  19.          fprintf(out2,".");
  20.          for(j = 0; j < 3; fprintf(out2,"%c",dptr[i] -> ext[j++]));
  21.          fprintf(out2,"  %6lu  ", dptr[i] -> size);
  22.          fprintf(out2,"  %02d/%02d/%02d  ",month,day,year);
  23.          if((i+1) % 3 == 0)
  24.             fprintf(out2,"\n\t");
  25.       }
  26. }
  27.  
  28.