Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose(3)

ldopen(3)

ldfhread(3)

ldfcn(4)

ldohseek(3)  —  Subroutines

NAME

ldohseek − seek to the optional file header of a common object file

SYNOPSIS

#include <stdio.h>
 
#include <filehdr.h>
#include <syms.h>
#include <ldfcn.h> int ldohseek(
        LDFILE ∗ldptr );

DESCRIPTION

The ldohseek() routine seeks to the optional file header of the common object file currently associated with ldptr. 

It returns SUCCESS or FAILURE. If the object file has no optional header or if it cannot seek to the optional header, ldohseek() fails. 

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

SEE ALSO

ldclose(3), ldopen(3), ldfhread(3), ldfcn(4)

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