ar.h 244 B

1234567891011121314151617
  1. #define ARMAG "!<arch>\n"
  2. #define SARMAG 8
  3. #define ARFMAG "`\n"
  4. #define SARNAME 16
  5. struct ar_hdr
  6. {
  7. char name[SARNAME];
  8. char date[12];
  9. char uid[6];
  10. char gid[6];
  11. char mode[8];
  12. char size[10];
  13. char fmag[2];
  14. };
  15. #define SAR_HDR (SARNAME+44)