ar.h 311 B

12345678910111213141516171819202122232425
  1. #ifndef _AR_H
  2. #define _AR_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define ARMAG "!<arch>\n"
  7. #define SARMAG 8
  8. #define ARFMAG "`\n"
  9. struct ar_hdr {
  10. char ar_name[16];
  11. char ar_date[12];
  12. char ar_uid[6], ar_gid[6];
  13. char ar_mode[8];
  14. char ar_size[10];
  15. char ar_fmag[2];
  16. };
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif