home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / language / sozosun / ar.h next >
Encoding:
C/C++ Source or Header  |  1993-10-23  |  440 b   |  27 lines

  1. /*
  2.  * Archive header format
  3.  *
  4.  * Archives must start with a word containing the magic number
  5.  * 0xff65 or 0xff66, with 0xff66 being reserved for a random-
  6.  * access object module library.
  7.  */
  8.  
  9. #define    ARMAG1    0xff65
  10. #define    ARMAG2    0xff66
  11.  
  12. #ifdef BSD
  13. #define int short
  14. #endif
  15.  
  16. struct    ar_hdr {
  17.     char    ar_name[14];
  18.     long    ar_date;
  19.     char    ar_uid;
  20.     char    ar_gid;
  21.     int    ar_mode;
  22.     long    ar_size;
  23.     int    ar_fill;
  24. };
  25.  
  26. #define    ARHSZ    (sizeof (struct ar_hdr))
  27.