Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldahread(3x) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose, ldaclose

ldopen, ldaopen

ldfcn

ar



LDAHREAD(3x,L)              AIX Technical Reference              LDAHREAD(3x,L)



-------------------------------------------------------------------------------
ldahread



PURPOSE

Reads the archive header of a member of an archive file.

LIBRARY

Object File Access Routine Library (libld.a)

SYNTAX

#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.

The ldahread subroutine returns SUCCESS or FAILURE.  The ldahread subroutine
fails if TYPE(ldptr) does not represent an archive file, or if it cannot read
the archive header.

RELATED INFORMATION

In this book:  "ldclose, ldaclose," "ldopen, ldaopen," "ldfcn," and "ar."


















Processed November 7, 1990      LDAHREAD(3x,L)                                1



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