Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldahread(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose(S)

ldfcn(FP)


 ldahread(S)                    6 January 1993                    ldahread(S)


 Name

    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 exten-
    sion of AT&T System V provided by the Santa Cruz Operation.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026