ldohseek(3) CLIX ldohseek(3)
NAME
ldohseek - Seeks to the optional file header of a common object file
LIBRARY
COFF Object File Manipulation Library (libld.a)
SYNOPSIS
#include <stdio.h>
#include <filehdr.h>
#include <ldfcn.h>
#include "INCDIR/filehdr.h"
#include "INCDIR/ldfcn.h"
int ldohseek(
LDFILE *ldptr );
DESCRIPTION
The ldohseek() function seeks to the optional file header of the common
object file currently associated with ldptr.
The program must be loaded with the object file access function library
libld.a.
INCDIR is the standard directory list for #include files, usually
/usr/include. LIBDIR is the set of standard library files, usually /lib.
RETURN VALUES
The ldohseek() function returns SUCCESS or FAILURE. The ldohseek()
function fails if the object file has no optional header or if it cannot
seek to the optional header.
RELATED INFORMATION
Functions: ldclose(3), ldopen(3), ldfhread(3)
Files: ldfcn(4), path.h(4)
2/94 - Intergraph Corporation 1