LDAHREAD(3x,L) AIX Technical Reference LDAHREAD(3x,L) ------------------------------------------------------------------------------- ldahread PURPOSE Reads the archive header of a member of an archive file. LIBRARY Object File Access Routine Library (libld.a) SYNTAX #include #include #include #include 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. The ldahread subroutine returns SUCCESS or FAILURE. The ldahread subroutine fails if TYPE(ldptr) does not represent an archive file, or if it cannot read the archive header. RELATED INFORMATION In this book: "ldclose, ldaclose," "ldopen, ldaopen," "ldfcn," and "ar." Processed November 7, 1990 LDAHREAD(3x,L) 1