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

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

Contents


LDSHREAD(3X)							  LDSHREAD(3X)


NAME    [Toc]    [Back]

     ldshread, ldnshread - read	an indexed/named section header	of a common
     object file

SYNOPSIS    [Toc]    [Back]

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

     int ldshread (ldptr, sectindx, secthead)
     LDFILE *ldptr;
     unsigned short sectindx;
     SCNHDR *secthead;

     int ldnshread (ldptr, sectname, secthead)
     LDFILE *ldptr;
     char *sectname;
     SCNHDR *secthead;

DESCRIPTION    [Toc]    [Back]

     ldshread reads the	section	header specified by sectindx of	the common
     object file currently associated with ldptr into the area of memory
     beginning at secthead.

     ldnshread reads the section header	specified by sectname into the area of
     memory beginning at secthead.

     ldshread and ldnshread return SUCCESS or FAILURE.	If sectindx is greater
     than the number of	sections in the	object file, ldshread fails; If	there
     is	no section name	corresponding with sectname, ldnshread fails.  If it
     cannot read the specified section header, either function fails.

     NOTE: The first section header has	an index of one.

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

SEE ALSO    [Toc]    [Back]

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


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
ldnsseek Tru64 seek to an indexed/named section of a common object file
ldsseek Tru64 seek to an indexed/named section of a common object file
ldsseek IRIX seek to an indexed/named section of a common object file
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
ldfhread IRIX read the file header of a common object file
ldfhread Tru64 read the file header of a common object file
ldrseek IRIX seek to relocation entries of a section of a common object file
ldnrseek Tru64 seek to relocation entries of a section of a common object file
ldrseek Tru64 seek to relocation entries of a section of a common object file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service