remove math library specific part of copyright
[unix-history] / usr / src / include / ar.h
CommitLineData
4d882547 1/*-
311a2564 2 * Copyright (c) 1991 The Regents of the University of California.
4d882547 3 * All rights reserved.
bb0cfa24 4 *
4d882547
KB
5 * This code is derived from software contributed to Berkeley by
6 * Hugh Smith at The University of Guelph.
7 *
311a2564
KB
8 * %sccs.include.redist.c%
9 *
10 * @(#)ar.h 5.3 (Berkeley) %G%
bb0cfa24 11 */
ef84769c 12
4d882547
KB
13/* Pre-4BSD archives had these magic numbers in them. */
14#define OARMAG1 0177555
15#define OARMAG2 0177545
ef84769c 16
4d882547
KB
17#define ARMAG "!<arch>\n" /* ar "magic number" */
18#define SARMAG 8 /* strlen(ARMAG); */
19
20#define AR_EFMT1 "#1/" /* extended format #1 */
ef84769c
SL
21
22struct ar_hdr {
4d882547
KB
23 char ar_name[16]; /* name */
24 char ar_date[12]; /* modification time */
25 char ar_uid[6]; /* user id */
26 char ar_gid[6]; /* group id */
27 char ar_mode[8]; /* octal file permissions */
28 char ar_size[10]; /* size in bytes */
29#define ARFMAG "`\n"
30 char ar_fmag[2]; /* consistency check */
ef84769c 31};