ldahread(3X) ldahread(3X)NAME ldahread - read the archive header of a member of an archive file SYNOPSIS #include <stdio.h> #include <ar.h> #include <filehdr.h> #include <ldfcn.h> int ldahread(ldptr,arhead) LDFILE *ldptr; ARCHDR *arhead; DESCRIPTION If TYPE(ldptr) is the archive file magic number, ldahread reads the archive header of the common object file currently associated with ldptr into the area of memory beginning at arhead. Programs using this routine should be loaded with the object file access library libld.a. RETURN VALUE ldahread returns SUCCESS or FAILURE. ldahread fails if TYPE(ldptr) does not represent an archive file or if it can- not read the archive header. SEE ALSO ldclose(3X), ldopen(3X), ldfcn(3X), ar(4). April, 1990 1