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(5)

ldohseek(3x)  —  RISC

Name

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

Syntax

#include <stdio.h>
#include <filehdr.h>
#include <syms.h>
#include <ldfcn.h> }

int ldohseek (ldptr)
LDFILE ∗ldptr;

Description

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

ldohseek function returns success or failure. If the object file does not have an 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(3x), ldopen(3x), ldfhread(3x), ldfcn(5)

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