~ubuntu-branches/ubuntu/trusty/bmake/trusty-proposed

« back to all changes in this revision

Viewing changes to ranlib.h

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-09-22 16:07:33 UTC
  • Revision ID: package-import@ubuntu.com-20130922160733-9cvmsi7z0jswtrbi
Tags: upstream-20130904
ImportĀ upstreamĀ versionĀ 20130904

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 $       */
 
3
 
 
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.
 
11
 */
 
12
 
 
13
#if !defined(IRIX) && !defined(__digital__) && !defined(__osf__)
 
14
#ifndef _ranlib_h
 
15
#define _ranlib_h
 
16
 
 
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 */
 
22
 
 
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 */
 
29
};
 
30
 
 
31
#endif /*!_ranlib_h*/
 
32
#endif