ldgetpd man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

ldgetpd(3)							    ldgetpd(3)

NAME
       ldgetpd	-  retrieves procedure descriptor given a procedure descriptor
       index

SYNOPSIS
       #include	 <stdio.h>  #include  <filehdr.h>  #include  <sym.h>  #include
       <ldfcn.h>

       long ldgetpd(
	       LDFILE ldptr,
	       long ipd,
	       pPDR ppd );

DESCRIPTION
       The ldgetpd() routine returns a SUCCESS or FAILURE depending on whether
       the procedure descriptor with index ipd can be accessed. If it  can  be
       accessed,  the  structure pointed to by ppd is filled with the contents
       of the corresponding procedure descriptor. The isym,  iline,  and  iopt
       fields of the procedure descriptor are updated to be used in further LD
       routine calls. The adr field is updated from the symbol	referenced  by
       the isym field.

       The PDR cannot be retrieved when: The procedure descriptor table cannot
       be found.  The ipd offset into the procedure descriptor table is beyond
       the  end	 of  the table.	 The file descriptor that the ipd offset falls
       into cannot be found.

       Typically, ldgetpd() is called while traversing	the  table  that  runs
       from 0 to SYMHEADER(ldptr).ipdMax - 1.

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

SEE ALSO
       ldclose(3), ldopen(3), ldtbseek(3), ldtbread(3), ldfcn(4)

								    ldgetpd(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net