Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldtbread(3)

ldclose(3)

ldopen(3)

ldtbseek(3)

ldgetname(3)

ldfcn(0)



  ldtbread(3)                         CLIX                         ldtbread(3)



  NAME

    ldtbread - Reads an indexed symbol table entry of a common object file

  LIBRARY

    The Loader Library (libld.a)

  SYNOPSIS

    #include <stdio.h>

    #include <filehdr.h>

    #include <syms.h>

    #include <ldfcn.h>

    #include "INCDIR/filehdr.h"

    #include "INCDIR/syms.h"

    #include "INCDIR/ldfcn.h"

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

  DESCRIPTION

    The ldtbread() function 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 program must be loaded with the object file access function library
    libld.a.

    INCDIR is the standard directory list for #include files, usually
    /usr/include.  LIBDIR is the set of standard library files, usually /lib.

  RETURN VALUES

    The ldtbread() function returns SUCCESS or FAILURE.  The ldtbread()
    function 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



  2/94 - Intergraph Corporation                                              1






  ldtbread(3)                         CLIX                         ldtbread(3)



    Functions:  ldclose(3), ldopen(3), ldtbseek(3), ldgetname(3)

    Files:  ldfcn(0)



















































  2                                              Intergraph Corporation - 2/94




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