ldsseek(3x)
_________________________________________________________________
ldsseek Subroutine
seek to an indexed section of an executable file in DG/UX
_________________________________________________________________
SYNTAX
#include <stdio.h>
#include <sys/types.h>
#include <filehdr.h>
#include <ldfcn.h>
int ldsseek (ldptr, sectindx)
LDFILE *ldptr;
unsigned short sectindx;
DESCRIPTION
Ldsseek seeks to the section specified by sectindx of the
executable file currently associated with ldptr.
Ldsseek returns SUCCESS or FAILURE. Ldsseek will fail if
sectindx is greater than the number of sections in the file, if
there is no section data for the specified section, or if it
cannot seek to the specified section.
Because the order of sections can change, use the mnenonic
section names specified in filehdr.h (see filehdr(4)). Note that
the first section has an index of 1.
The program must be loaded with the executable file access
routine library libld.a.
SEE ALSO
ldclose(3X), ldopen(3X), ldshread(3X), ldfcn(4), filehdr(4).
CAVEATS
The executable file format is used only for executable files
(load modules), not for object files.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)