A file produced by ar has a magic string at the start, followed by the
constituent files, each preceded by a file header. The magic number and
header layout as described in the include file are:
struct ar_hdr {
char ar_name[16];
char ar_date[12];
char ar_uid[6];
char ar_gid[6];
char ar_mode[8];
char ar_size[10];
char ar_fmag[2];
};
#include#include int mkdir ( const char *path, mode_t mode );
struct dirent {
ino_t d_ino;
char d_name[NAME_MAX + 1];
}