osf1 man page for ldgetpd

Query: ldgetpd

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ldgetpd(3)						     Library Functions Manual							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 (ldptr, ipd, ppd ) LDFILE ldptr ; long ipd ; pPDR ipd ;
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 refer- enced 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.
RELATED INFORMATION
ldclose(3), ldopen(3), ldtbseek(3), ldtbread(3), ldfcn(4). delim off ldgetpd(3)
Related Man Pages
ldgetaux(3x) - ultrix
ldtbread(3x) - ultrix
ldgetpd(3) - osf1
ldopen(3) - osf1
ldtbread(3) - osf1
Similar Topics in the Unix Linux Community
Display the contents of a table.
loading the data to the partitioned table using procedure
create table via stored procedure (passing the table name to it)
Shell
PL/SQL - one procedure for business logic