📄 ldgetpd.3x
字号:
.TH ldgetpd 3x RISC.SH Nameldgetpd \- retrieve procedure descriptor given a procedure descriptor index.SH Syntax.nf.B "#include <stdio.h>".B "#include <filehdr.h>".B "#include <sym.h>".B "#include <ldfcn.h>".fi.sp.nf.BR "long ldgetpd (" "ldptr, ipd, ppd" ).BR "LDFILE \**" ldptr ;.BR "long " ipd ;.BR "pPDR \**" ipd ;.fi.SH DescriptionThe.PN ldgetpdfunction returns success or failure depending on whether the procedure descriptor with index.I ipdcan be accessed.If it can be accessed, the structure pointed to by.I ppdis filled with the contents of the corresponding procedure descriptor.The .I isym, iline,and.I ioptfields of the procedure descriptor are updated to be used in furtherLD routine calls. The.I adrfield is updated from the symbol referenced by the.I isym field..PPThe PDR cannot be retrieved when the following occurs:.IP \(bu 5The procedure descriptor table cannot be found..IP \(bu 5The ipd offset into the procedure descriptor table is beyond theend of the table..IP \(bu 5The file descriptor that the ipd offset falls into cannot be found..PPTypically, .PN ldgetpdis called while traversing the table that runs from 0 to SYMHEADER(ldptr).ipdMax \- 1..SH See Alsoldclose(3x), ldopen(3x), ldtbseek(3x), ldtbread(3x),ldfcn(5)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -