ldahread(S)
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),
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.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003