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".
10 register struct ar_hdr
*arhdr
;
13 register char *c
= buf
;
14 register char *p
= arhdr
->ar_name
;
17 i
= read(fd
, c
, AR_TOTAL
);
26 arhdr
->ar_date
= ((long) get2(c
)) << 16; c
+= 2;
27 arhdr
->ar_date
|= ((long) get2(c
)) & 0xffff; c
+= 2;
30 arhdr
->ar_mode
= get2(c
); c
+= 2;
31 arhdr
->ar_size
= (long) get2(c
) << 16; c
+= 2;
32 arhdr
->ar_size
|= (long) get2(c
) & 0xffff;