LDOHSEEK(S) UNIX System V LDOHSEEK(S)
Name
ldohseek - seek to the optional file header of a common
object file
Syntax
#include <stdio.h>
#include <filehdr.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.
The ldohseek function 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 -lld flag.
See Also
ldclose(S), ldopen(S), ldfhread(S), ldfcn(F)
(printed 6/20/89)