1
0

ar.h 656 B

1234567891011121314151617181920212223242526
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. #define ARMAG "!<arch>\n"
  10. #define SARMAG 8
  11. #define ARFMAG "`\n"
  12. #define SARNAME 16
  13. struct ar_hdr
  14. {
  15. char name[SARNAME];
  16. char date[12];
  17. char uid[6];
  18. char gid[6];
  19. char mode[8];
  20. char size[10];
  21. char fmag[2];
  22. };
  23. #define SAR_HDR (SARNAME+44)