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

  man pages->Tru64 Unix man pages -> ldnsseek (3)              
Title
Content
Arch
Section
 

ldsseek(3)

Contents


NAME    [Toc]    [Back]

       ldsseek,  ldnsseek - seek to an indexed/named section of a
       common object file

SYNOPSIS    [Toc]    [Back]

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

       int ldsseek(
               LDFILE *ldptr,
               unsigned short sectindx ); int ldnsseek(
               LDFILE *ldptr,
               char *sectname );

DESCRIPTION    [Toc]    [Back]

       The  ldsseek()  routine  seeks to the section specified by
       sectindx of the common object  file  currently  associated
       with ldptr.

       The  ldnsseek()  routine seeks to the section specified by
       sectname.

       Both routines return SUCCESS or FAILURE.  If  sectindx  is
       greater  than  the  number of sections in the object file,
       ldsseek() fails; if there is no section name corresponding
       with  sectname,  ldnsseek()  fails. If there is no section
       data for the specified section or if it cannot seek to the
       specified section, either function fails.

       Note: The first section has an index of one.

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

SEE ALSO    [Toc]    [Back]

      
      
       ldclose(3), ldopen(3), ldshread(3), ldfcn(4)



                                                       ldsseek(3)
[ Back ]
 Similar pages
Name OS Title
ldshread IRIX read an indexed/named section header of a common object file
ldshread Tru64 read an indexed/named section header of a common object file
ldnshread Tru64 read an indexed/named section 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
ldnlseek Tru64 seek to line number entries of a section of a common object file
ldlseek IRIX seek to line number entries of a section of a common object file
ldlseek Tru64 seek to line number entries of a section of a common object file
ldtbseek Tru64 seek to the symbol table of a common object file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service