annotate tool/ar.h @ 3:003df9892e57

import original TCS211 libs from Sotovik
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 05 Jun 2015 21:19:08 +0000
parents 12e230d431f0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 * Copyright (c) 1980 Regents of the University of California.
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 * All rights reserved. The Berkeley software License Agreement
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 * specifies the terms and conditions for redistribution.
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 *
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 * @(#)ar.h 5.1 (Berkeley) 5/30/85
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 */
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 #define ARMAG "!<arch>\n"
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 #define SARMAG 8
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 #define ARFMAG "`\n"
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 struct ar_hdr {
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 char ar_name[16];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 char ar_date[12];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 char ar_uid[6];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
18 char ar_gid[6];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 char ar_mode[8];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 char ar_size[10];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
21 char ar_fmag[2];
12e230d431f0 started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 };