Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldtbread(3x) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldclose, ldaclose

ldfcn

ldgetname

ldopen, ldaopen

ldtbseek



LDTBREAD(3x,L)              AIX Technical Reference              LDTBREAD(3x,L)



-------------------------------------------------------------------------------
ldtbread



PURPOSE

Reads an indexed symbol table entry of a common object file.

LIBRARY

Object File Access Routine Library (libld.a)

SYNTAX

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

int ldtbread (ldptr, symindex, symbol)
LDFILE *ldptr;
long symindex;
SYMENT *symbol;

DESCRIPTION

The ldtbread subroutine reads the symbol table entry specified by symindex of
the common object file currently associated with ldptr into the area of memory
beginning at symbol.  Note that the first symbol in the symbol table has an
index of 0.

The ldtbread subroutine returns SUCCESS or FAILURE.  The ldtbread subroutine
fails if symindex is greater than or equal to the number of symbols in the
object file, or if it cannot read the specified symbol table entry.

RELATED INFORMATION

In this book:  "ldclose, ldaclose," "ldfcn," "ldgetname," "ldopen, ldaopen,"
and "ldtbseek."















Processed November 7, 1990      LDTBREAD(3x,L)                                1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026