ldohseek(3x) ldohseek(3x)
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 function seeks to the optional file header of the common object file currently associated with ldptr.
function returns success or failure. If the object file does not have an optional header or if it cannot seek to the optional header,
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)
RISC ldohseek(3x)