LDOHSEEK(3X) — MISCELLANEOUS LIBRARY FUNCTIONS
NAME
ldohseek − seek to the optional file header of a COFF file
SYNOPSIS
#include <stdio.h>
#include <filehdr.h>
#include <ldfcn.h>
int ldohseek (ldptr)
LDFILE ∗ldptr;
AVAILABILITY
Sun386i systems only.
DESCRIPTION
ldohseek() seeks to the optional file header of the COFF file currently associated with ldptr.
ldohsee() 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 object file access routine library libld.a.
SEE ALSO
ldclose(3X), ldfcn(3), ldopen(3X), ldfhread(3X)
Sun Release 4.0 — Last change: 19 February 1988