1 /* $Id: rd_ranlib.c,v 1.6 1994/06/24 11:19:07 ceriel Exp $ */
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".
9 rd_ranlib(fd, ran, cnt)
10 register struct ranlib *ran;
13 rd_bytes(fd, (char *) ran, cnt * SZ_RAN);
14 #if BYTE_ORDER == 0x0123
15 if (sizeof (struct ranlib) != SZ_RAN)
18 register char *c = (char *) ran + cnt * SZ_RAN;
23 c -= 4; ran->ran_pos = get4(c);
24 c -= 4; ran->ran_off = get4(c);