xref: /original-bsd/include/ranlib.h (revision 1a56dd2c)
1 /*	ranlib.h	4.2	87/04/06	*/
2 
3 #define	RANLIBMAG	"__.SYMDEF"
4 
5 /*
6  * Structure of the __.SYMDEF table of contents for an archive.
7  * __.SYMDEF begins with a word giving the number of ranlib structures
8  * which immediately follow, and then continues with a string
9  * table consisting of a word giving the number of bytes of strings
10  * which follow and then the strings themselves.
11  * The ran_strx fields index the string table whose first byte is numbered 0.
12  */
13 struct	ranlib {
14 	union {
15 		off_t	ran_strx;	/* string table index of */
16 		char	*ran_name;	/* symbol defined by */
17 	} ran_un;
18 	off_t	ran_off;		/* library member at this offset */
19 };
20