3 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4 * See the copyright notice in the ACK home directory, in the file "Copyright".
11 register struct ar_hdr
*arhdr
;
14 register char *c
= buf
;
15 register char *p
= arhdr
->ar_name
;
18 i
= read(fd
, c
, AR_TOTAL
);
27 arhdr
->ar_date
= ((long) get2(c
)) << 16; c
+= 2;
28 arhdr
->ar_date
|= ((long) get2(c
)) & 0xffff; c
+= 2;
31 arhdr
->ar_mode
= get2(c
); c
+= 2;
32 arhdr
->ar_size
= (long) get2(c
) << 16; c
+= 2;
33 arhdr
->ar_size
|= (long) get2(c
) & 0xffff;