mandoc: update to 1.14.1
[unleashed.git] / bin / bmake / ranlib.h
blob503c7c16976397a2fe95ec76bbc509d78c97a8d1
1 /* @(#)ranlib.h 1.6 88/08/19 SMI; from UCB 4.1 83/05/03 */
2 /* $Id: ranlib.h,v 1.5 2005/11/01 02:35:15 sjg Exp $ */
4 /*
5 * Structure of the __.SYMDEF table of contents for an archive.
6 * __.SYMDEF begins with a word giving the number of ranlib structures
7 * which immediately follow, and then continues with a string
8 * table consisting of a word giving the number of bytes of strings
9 * which follow and then the strings themselves.
10 * The ran_strx fields index the string table whose first byte is numbered 0.
13 #if !defined(IRIX) && !defined(__digital__) && !defined(__osf__)
14 #ifndef _ranlib_h
15 #define _ranlib_h
17 #if 0
18 #define RANLIBMAG "!<arch>\n__.SYMDEF" /* archive file name */
19 #endif
20 #define RANLIBMAG "__.SYMDEF" /* archive file name */
21 #define RANLIBSKEW 3 /* creation time offset */
23 struct ranlib {
24 union {
25 off_t ran_strx; /* string table index of */
26 char *ran_name; /* symbol defined by */
27 } ran_un;
28 off_t ran_off; /* library member at this offset */
31 #endif /*!_ranlib_h*/
32 #endif