Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose(3X)

ldopen(3X)

ldfhread(3X)

ldfcn(4)

LDOHSEEK(3X)                         BSD                          LDOHSEEK(3X)



NAME
     ldohseek - seek to the optional file header of a common object file

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

     int ldohseek (ldptr)
     LDFILE *ldptr;

DESCRIPTION
     ldohseek seeks to the optional file header of the common object file
     currently associated with ldptr.

     ldohseek returns SUCCESS or FAILURE.  ldohseek will fail if the object
     file has no optional header or if it cannot seek to the optional header.

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

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

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