AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

LDSSEEK ( 3X ) LDSSEEK ( 3X ) NAME ldsseek, ldnsseek - seek to an indexed/named section of a com­ mon object file SYNOPSIS #include #include #include int ldsseek (ldptr, sectindx) LDFILE •ldptr; unsigned short sectindx; int ldnsseek (ldptr, sectna.me) LDFILE •ldptr; char *sectna.me; DESCRIPTION Ldsseek seeks to the section specified by sectindx of the common object file currently associated with ldptr . Ldnsseek seeks to the section specified by sectname . Ldsseek and ldnsseek return SUCCESS or F AlLURE. Ldsseek will fail if sectindx is greater than the number of sections in the object file; ldnsseek will fail if there is no section name corresponding with sectname . Either function will fail if there is no section data for the specified section or if it cannot seek to the specified section. Note that the first section has an index of one . The program must be loaded with the object file access routine library libld.a.. SEE ALSO ldclose(3X), ldopen(3X), ldshread(3X), ldfcn( 4). - 1 -

LDSSEEK ( 3X ) LDSSEEK ( 3X )<br />

NAME ldsseek, ldnsseek - seek to an indexed/named section of a com­<br />

mon object file<br />

SYNOPSIS<br />

#include <br />

#include <br />

#include <br />

int ldsseek (ldptr, sectindx)<br />

LDFILE •ldptr;<br />

unsigned short sectindx;<br />

int ldnsseek (ldptr, sectna.me)<br />

LDFILE •ldptr;<br />

char *sectna.me;<br />

DESCRIPTION<br />

Ldsseek seeks to the section specified by sectindx of the common<br />

object file currently associated with ldptr .<br />

Ldnsseek seeks to the section specified by sectname .<br />

Ldsseek and ldnsseek return SUCCESS or F AlLURE. Ldsseek<br />

will fail if sectindx is greater than the number of sections in the<br />

object file; ldnsseek will fail if there is no section name corresponding<br />

with sectname . Either function will fail if there is no section<br />

data for the specified section or if it cannot seek to the specified<br />

section.<br />

Note that the first section has an index of one .<br />

The program must be loaded with the object file access routine<br />

library libld.a..<br />

SEE ALSO<br />

ldclose(3X), ldopen(3X), ldshread(3X), ldfcn( 4).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!