*** empty log message ***
[deliverable/binutils-gdb.git] / include / ar.h
CommitLineData
a07cc613
JG
1/* archive file definition for GNU software */
2
3/* So far this is correct for BSDish archives. Don't forget that
4 files must begin on an even byte boundary. */
5
6#ifndef __GNU_AR_H__
7#define __GNU_AR_H__
8
9#define ARMAG "!<arch>\n" /* For COFF and a.out archives */
10#define ARMAGB "!<bout>\n" /* For b.out archives */
11#define SARMAG 8
12#define ARFMAG "`\n"
13
14struct ar_hdr {
15 char ar_name[16]; /* name of this member */
16 char ar_date[12]; /* file mtime */
17 char ar_uid[6]; /* owner uid; printed as decimal */
18 char ar_gid[6]; /* owner gid; printed as decimal */
19 char ar_mode[8]; /* file mode, printed as octal */
20 char ar_size[10]; /* file size, printed as decimal */
21 char ar_fmag[2]; /* should contain ARFMAG */
22};
23
24#endif /* __GNU_AR_H__ */
This page took 0.030555 seconds and 4 git commands to generate.