ultrix man page for ldtbindex

Query: ldtbindex

OS: ultrix

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ldtbindex(3x)															     ldtbindex(3x)

Name
       ldtbindex - compute the index of a symbol table entry of a common object file

Syntax
       #include <stdio.h>
       #include <filehdr.h>
       #include <syms.h>
       #include <ldfcn.h>

       long ldtbindex (ldptr)
       LDFILE *ldptr;

Description
       The returns the (long) index of the symbol table entry at the current position of the common object file associated with ldptr.

       The  index returned by can be used in later calls to returns the index of the symbol table entry that begins at the current position of the
       object file; therefore, if is called immediately after a particular symbol table entry has been read, it returns the the index of the  next
       entry.

       If  there  are  no  symbols  in the object file or if the object file is not positioned at the beginning of a symbol table entry, fails and
       returns BADINDEX (-1).

       Note that the first symbol in the symbol table has an index of zero.

See Also
       ldclose(3x), ldopen(3x), ldtbread(3x), ldtbseek(3x), ldfcn(5)

								       RISC							     ldtbindex(3x)
Related Man Pages
ldaopen(3x) - ultrix
ldgetaux(3x) - ultrix
ldopen(3x) - ultrix
ldopen(3) - osf1
ldtbread(3) - osf1
Similar Topics in the Unix Linux Community
A short history of UNIX by l.madden@ic.ac.uk
Can I change my hostname without messing things up?
PHP Write Man Pages to MySQL DB