1 /* $Id: wr_ranlib.c,v 1.8 1994/06/24 11:19:35 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 wr_ranlib(fd, ran, cnt1)
13 #if BYTE_ORDER == 0x0123
14 if (sizeof (struct ranlib) != SZ_RAN)
17 register long cnt = cnt1;
18 register struct ranlib *r = ran;
19 register char *c = (char *) r;
22 put4(r->ran_off,c); c += 4;
23 put4(r->ran_pos,c); c += 4;
27 wr_bytes(fd, (char *) ran, cnt1 * SZ_RAN);