*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/ldtbindex (3)              
Title
Content
Arch
Section
 

Contents


LDTBINDEX(3X)							 LDTBINDEX(3X)


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

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

     long ldtbindex (ldptr)
     LDFILE *ldptr;

DESCRIPTION    [Toc]    [Back]

     ldtbindex 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 ldtbindex can be used in later calls	to
     ldtbread(3X).  ldtbindex returns the index	of the last ldtbread.

     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, ldtbindex fails and
     returns BADINDEX (-1).

     NOTE: The first symbol in the symbol table	has an index of	zero.

     The program must be loaded	with the object	file access routine library
     libmld.a.

SEE ALSO    [Toc]    [Back]

      
      
     ldclose(3X), ldopen(3X), ldtbread(3X), ldtbseek(3X), ldfcn(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
ldtbread Tru64 read an indexed symbol table entry of a common object file
ldtbread IRIX read an indexed symbol table entry of a common object file
ldtbseek IRIX seek to the symbol table of a common object file
ldtbseek Tru64 seek to the symbol table of a common object file
ldgetname IRIX retrieve symbol name for object file symbol table entry
ldgetname Tru64 retrieve symbol name for object file symbol table entry
libst Tru64 symbol table and object file access library
libst_intro Tru64 symbol table and object file access library
st_pt_layout Tru64 access and modify optimization symbol table information in an object file
st_pt_setup Tru64 access and modify optimization symbol table information in an object file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service