Annotation of coherent/f/usr/include/ar.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 3.0
        !             3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * This is the format of the header at the start of every archive member.
        !             8:  * This is not the same as V7.
        !             9:  * To prevent confusion the magic number is different.
        !            10:  */
        !            11: 
        !            12: #ifndef        __AR_H__
        !            13: #define        __AR_H__
        !            14: 
        !            15: /*
        !            16:  * Be warned! This header use the magic DIRSIZ #define which represents the
        !            17:  * size of a filename in the old V6 filesystem (which has been kept in the
        !            18:  * S5 and Coherent filesystems). Thus, the "ar" command and all commands
        !            19:  * which use this header will die horribly if use with filesystems that
        !            20:  * support longer names.
        !            21:  */
        !            22: 
        !            23: #include <sys/types.h>
        !            24: 
        !            25: #if    ! DIRSIZ
        !            26: # define       DIRSIZ          14
        !            27: #endif
        !            28: 
        !            29: #define OLD_ARMAG      0177535                 /* Magic number */
        !            30: 
        !            31: struct old_ar_hdr {
        !            32:        char    ar_name[DIRSIZ];        /* Member name */
        !            33:        time_t  ar_date;                /* Time inserted */
        !            34:        short   ar_gid;                 /* Group id */
        !            35:        short   ar_uid;                 /* User id */
        !            36:        short   ar_mode;                /* Mode */
        !            37:        fsize_t ar_size;                /* File size */
        !            38: };
        !            39: /*
        !            40:  * Name of header module for ranlib
        !            41:  */
        !            42: #ifndef        HDRNAME
        !            43: #define        HDRNAME "__.SYMDEF"
        !            44: #endif
        !            45: /*
        !            46:  * Header module is list of all global defined symbols
        !            47:  * in all load modules
        !            48:  */
        !            49: #ifndef        __L_OUT_H__
        !            50: #include <n.out.h>
        !            51: #endif
        !            52: 
        !            53: typedef        struct  ar_sym {
        !            54:        char    ar_id[NCPLN];           /* symbol name */
        !            55:        fsize_t ar_off;                 /* offset of load module */
        !            56: } ar_sym;                              /* ...from end of header module */
        !            57: 
        !            58: #endif /* ! defined (__AR_H__) */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.