Content-type: text/html
#include <stdio.h> #include <filehdr.h> #include <syms.h> #include <ldfcn.h> int ldohseek (ldptr) LDFILE *ldptr;
ldohseek seeks to the optional file header of the common object file currently associated with ldptr.
ldohseek 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.
ldclose(3), ldopen(3), ldfhread(3), ldfcn(4). delim off