cc [flag . . . ] file . . . -lelf [library] . . .
Elf_Arhdr elf_getarhdr(Elf elf);
char ar_name; time_t ar_date; long ar_uid; long ar_gid; unsigned long ar_mode; off_t ar_size; char ar_rawname;
An archive member name, available through
is a null-terminated string, with the
format control characters removed.
ar_rawname member holds a null-terminated string
that represents the original name bytes in the file, including
the terminating slash and trailing blanks as specified in
the archive format.
In addition to ``regular'' archive members, the archive
format defines some special members.
All special member names begin with a slash (/),
distinguishing them from regular members (whose names
may not contain a slash).
These special members have the names (
ar_name) defined below.
ar_nameto the appropriate value.
Under some error conditions, a member's name might not be
Although this causes the library to set
ar_name to a null pointer,
ar_rawname member will be set as usual.