Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldahread(3X) — Interactive 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose(3X)

ldopen(3X)

ldfcn(4)

ar(4)



          LDAHREAD(3X)         INTERACTIVE UNIX System         LDAHREAD(3X)



          NAME
               ldahread - read the archive header of a member of an archive
               file

          SYNOPSIS
               #include <stdio.h>
               #include <ar.h>
               #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 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 rou-
               tine library libld.a.

          SEE ALSO
               ldclose(3X), ldopen(3X), ldfcn(4), ar(4).

























          Rev. C Software Development Set                            Page 1



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