Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  LDFHREAD(3X)         (Specialized Libraries)         LDFHREAD(3X)



  NAME
       ldfhread - read the file header of a common object file

  SYNOPSIS
       #include <stdio.h>
       #include <filehdr.h>
       #include <ldfcn.h>


       int ldfhread (ldptr, filehead)
       LDFILE *ldptr;
       FILHDR *filehead;

  DESCRIPTION
       ldfhread reads the file header of the common object file
       currently associated with ldptr into the area of memory
       beginning at filehead.

       ldfhread returns SUCCESS or FAILURE.  ldfhread will fail if
       it cannot read the file header.

       In most cases the use of ldfhread can be avoided by using
       the macro HEADER(ldptr) defined in ldfcn.h [see ldfcn (4)].
       The information in any field, fieldname, of the file header
       may be accessed using HEADER(ldptr).fieldname.

       The program must be loaded with the object file access
       routine library libld.a.

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











  Page 1                                                   May 1989
















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