ldrseek(3) CLIX ldrseek(3)
NAME
ldrseek, ldnrseek - Seeks to relocation entries of a section of a common
object file
LIBRARY
COFF Object File Manipulation Library (libld.a)
SYNOPSIS
#include <stdio.h>
#include <filehdr.h>
#include <ldfcn.h>
int ldrseek(
LDFILE *ldptr ,
unsigned short sectindx );
int ldnrseek(
LDFILE *ldptr ,
char sectname );
DESCRIPTION
The ldrseek() seeks to the relocation entries of the section specified by
sectindx of the common object file currently associated with ldptr.
The ldnrseek() function seeks to the relocation entries of the section
specified by sectname.
The ldrseek() and ldnrseek() commands return SUCCESS or FAILURE. The
ldrseek() function will fail if sectindx is greater than the number of
sections in the object file; ldnrseek() will fail if there is no section
name corresponding with sectname. Either function will fail if the
specified section has no relocation entries or if it cannot seek to the
specified relocation entries.
Note that the first section has an index of 1.
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.
RELATED INFORMATION
Functions: ldclose(3), ldopen(3), ldshread(3),
2/94 - Intergraph Corporation 1
ldrseek(3) CLIX ldrseek(3)
Files: intro(0), ldfcn(0)
2 Intergraph Corporation - 2/94