scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

ar.h (600B)


      1 #define ARMAG      "!<arch>\n"     /* ar "magic number" */
      2 #define SARMAG     8               /* strlen(ARMAG); */
      3 #define ARFMAG     "`\n"
      4 #define SARNAM     16
      5 
      6 
      7 struct ar_hdr {
      8         char ar_name[SARNAM];           /* name */
      9         char ar_date[12];               /* modification time */
     10         char ar_uid[6];                 /* user id */
     11         char ar_gid[6];                 /* group id */
     12         char ar_mode[8];                /* octal file permissions */
     13         char ar_size[10];               /* size in bytes */
     14         char ar_fmag[2];                /* consistency check */
     15 };