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.