source: trunk/minix/commands/autil/ranlib.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 979 bytes
Line 
1/*
2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
5/* $Id: ranlib.h,v 1.1 2005/06/23 09:50:54 philip Exp $ */
6
7#ifndef __RANLIB_H_INCLUDED
8#define __RANLIB_H_INCLUDED
9
10#ifndef SYMDEF
11# define SYMDEF "__.SYMDEF"
12#endif /* SYMDEF */
13
14/*
15 * Structure of the SYMDEF table of contents for an archive.
16 * SYMDEF begins with a long giving the number of ranlib
17 * structures that immediately follow, and then continues with a string
18 * table consisting of a long giving the number of bytes of
19 * strings that follow and then the strings themselves.
20 */
21struct ranlib {
22 union {
23 char *ran__ptr; /* symbol name (in core) */
24 long ran__off; /* symbol name (in file) */
25 } ran_u;
26#define ran_ptr ran_u.ran__ptr
27#define ran_off ran_u.ran__off
28 long ran_pos; /* library member is at this position */
29};
30
31#define SZ_RAN 8
32#define SF_RAN "44"
33
34#endif /* __RANLIB_H_INCLUDED */
Note: See TracBrowser for help on using the repository browser.