home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / decus / RB139 / rx50-103.lzh / MSDOSDIR.H next >
Text File  |  1986-09-10  |  719b  |  32 lines

  1. /*t MSDOSDIR -- Define DS-DOS Disk Directory Entry (Ver 2.xx) */
  2.                 /* Lattice     19-Jul-84  17:40 */
  3. typedef struct {
  4.  
  5.   char Dir_name[8];
  6.   char Dir_ext[3];
  7.   char Dir_attr;
  8.   char Dir_pad[10];
  9.  
  10.   struct {
  11.        unsigned Dt_hr : 5;
  12.        unsigned Dt_mn : 6;
  13.        unsigned Dt_sc : 5;
  14.                          } Dir_time;
  15.   struct {
  16.        unsigned Dt_yr : 7;
  17.        unsigned Dt_mo : 4;
  18.        unsigned Dt_da : 5;
  19.                          } Dir_date;
  20.  
  21.   unsigned int  Dir_first;
  22.            long Dir_size;
  23.  
  24.             } MSDOS_Dir;
  25.  
  26. #define Dirattr_RO    0x01
  27. #define Dirattr_HID   0x02
  28. #define Dirattr_SYS   0x04
  29. #define Dirattr_VOL   0x08
  30. #define Dirattr_DIR   0x10
  31. #define Dirattr_ARC   0x20
  32.