Annotation of coherent/f/usr/include.78/arcoff.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 4.0
                      3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*             COMMON ARCHIVE FORMAT
                      7: *
                      8: *      ARCHIVE File Organization:
                      9: *      _______________________________________________
                     10: *      |__________ARCHIVE_MAGIC_STRING_______________|
                     11: *      |__________ARCHIVE_FILE_MEMBER_1______________|
                     12: *      |                                             |
                     13: *      |       Archive File Header "ar_hdr"          |
                     14: *      |.............................................|
                     15: *      |       Member Contents                       |
                     16: *      |               1. External symbol directory  |
                     17: *      |               2. Text file                  |
                     18: *      |_____________________________________________|
                     19: *      |________ARCHIVE_FILE_MEMBER_2________________|
                     20: *      |               "ar_hdr"                      |
                     21: *      |.............................................|
                     22: *      |       Member Contents (.o or text file)     |
                     23: *      |_____________________________________________|
                     24: *      |       .               .               .     |
                     25: *      |       .               .               .     |
                     26: *      |       .               .               .     |
                     27: *      |_____________________________________________|
                     28: *      |________ARCHIVE_FILE_MEMBER_n________________|
                     29: *      |               "ar_hdr"                      |
                     30: *      |.............................................|
                     31: *      |               Member Contents               |
                     32: *      |_____________________________________________|
                     33: *
                     34: */
                     35: #ifndef __ARCOFF_H__
                     36: #define __ARCOFF_H__
                     37: 
                     38: #define ARMAG  "!<arch>\n"
                     39: #define SARMAG 8
                     40: #define ARFMAG "`\n"
                     41: 
                     42: struct ar_hdr          /* archive file member header - printable ascii */
                     43: {
                     44:        char    ar_name[16];    /* file member name - `/' terminated */
                     45:        char    ar_date[12];    /* file member date - decimal */
                     46:        char    ar_uid[6];      /* file member user id - decimal */
                     47:        char    ar_gid[6];      /* file member group id - decimal */
                     48:        char    ar_mode[8];     /* file member mode - octal */
                     49:        char    ar_size[10];    /* file member size - decimal */
                     50:        char    ar_fmag[2];     /* ARFMAG - string to end header */
                     51: };
                     52: 
                     53: #endif

unix.superglobalmegacorp.com

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