COHERENT manpages
This page displays the COHERENT manpage for arcoff.h [COFF archive-file header].
List of available manpages
Index
arcoff.h -- Header File COFF archive-file header #include <coff/arcoff.h> arcoff.h declares the structure ar_hdr, which is the header to a member of an archive. ar_hdr is structured as follows: struct ar_hdr { char ar_name[16]; /* file member name - `/' terminated */ char ar_date[12]; /* file member date - decimal */ char ar_uid[6]; /* file member user id - decimal */ char ar_gid[6]; /* file member group id - decimal */ char ar_mode[8]; /* file member mode - octal */ char ar_size[10]; /* file member size - decimal */ char ar_fmag[2]; /* ARFMAG - string to end header */ }; The COFF common-archive format has the following structure: _______________________________________________ |__________ARCHIVE_MAGIC_STRING_______________| |__________ARCHIVE_FILE_MEMBER_1______________| | | | Archive File Header "ar_hdr" | |.............................................| | Member Contents | | 1. External symbol directory | | 2. Text file | |_____________________________________________| |________ARCHIVE_FILE_MEMBER_2________________| | "ar_hdr" | |.............................................| | Member Contents (.o or text file) | |_____________________________________________| | . . . | | . . . | | . . . | |_____________________________________________| |________ARCHIVE_FILE_MEMBER_n________________| | "ar_hdr" | |.............................................| | Member Contents | |_____________________________________________| See Also a_out.h, file formats, header files Gircyc, G.R.: Understanding and Using COFF. Sebastopol, Calif, O'Reilly & Associates, Inc., 1990.