ldahread(S-osr5)
ldahread --
read the archive header of a member of an archive file
Syntax
cc . . . -lld
#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.
ldahread returns SUCCESS or FAILURE.
ldahread fails if TYPE(ldptr)
does not represent an archive file, or if it cannot read the archive header.
See also
ldclose(S-osr5),
ldfcn(FP)
Standards conformance
ldahread is not part of any currently supported standard;
it is an extension of AT&T System V provided by the Santa Cruz Operation.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005