comparison tool/ar.h @ 0:12e230d431f0

started writing libpatch tool
author Space Falcon <falcon@ivan.Harhan.ORG>
date Wed, 03 Jun 2015 07:40:00 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:12e230d431f0
1 /*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
6 * @(#)ar.h 5.1 (Berkeley) 5/30/85
7 */
8
9 #define ARMAG "!<arch>\n"
10 #define SARMAG 8
11
12 #define ARFMAG "`\n"
13
14 struct ar_hdr {
15 char ar_name[16];
16 char ar_date[12];
17 char ar_uid[6];
18 char ar_gid[6];
19 char ar_mode[8];
20 char ar_size[10];
21 char ar_fmag[2];
22 };