AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

LDAHREAD ( 3X ) LDAI-IREAD ( 3X ) NAME ldahread - read the archive header of a member of an archive file SYNOPSIS #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. Ldahre ad returns SUCCESS or F AlLURE. Ldahread will fail if TYPE( ldptr) does not represent an archive file, or if it cannot read the archive header. The program must be loaded with the object file access routine library libld.a. SEE ALSO ldclose(3X), ldopen(3X), ldfcn( 4). - 1 -

LDAHREAD ( 3X ) LDAI-IREAD ( 3X )<br />

NAME<br />

ldahread - read the archive header of a member of an archive file<br />

SYNOPSIS<br />

#include <br />

#include <br />

#include <br />

#include <br />

int ldahread (ldptr, arhead)<br />

LDFILE •ldptr;<br />

ARCHDR *arhead;<br />

DESCRIPTION<br />

If TYPE(ldptr) is the archive file magic number, ldahread reads<br />

the archive header of the common object file currently associated<br />

with ldptr into the area of memory beginning at arhead.<br />

Ldahre ad returns SUCCESS or F AlLURE. Ldahread will fail if<br />

TYPE( ldptr) does not represent an archive file, or if it cannot<br />

read the archive header.<br />

The program must be loaded with the object file access routine<br />

library libld.a.<br />

SEE ALSO<br />

ldclose(3X), ldopen(3X), ldfcn( 4).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!