⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldlread.3x

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 3X
字号:
.TH ldlread 3x RISC.SH Nameldlread, ldlinit, ldlitem \- manipulate line number entries of a common object file function.SH Syntax.nf.B #include <stdio.h>.ie '\*p'' \{\.B #include <filehdr.h>.B #include <syms.h>.B #include <ldfcn.h>\}.el \{\.B #include "\s-1INCDIR\s+1\/filehdr.h".B #include "\s-1INCDIR\s+1\/syms.h".B #include "\s-1INCDIR\s+1\/ldfcn.h"\}.ft R.PP.BR "int ldlread (" "ldptr, fcnindx, linenum, linent" ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.BR long " fcnindx" ;.BR "unsigned short" " linenum" ;.BR "\s-1LINER\s+1" " linent" ;.PP.BR "int ldlinit (" "ldptr, fcnindx" ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.BR long " fcnindx" ;.PP.BR "int ldlitem (" "ldptr, linenum, linent" ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.BR "unsigned short" " linenum" ;.BR "\s-1LINER\s+1" " linent" ;.fi.DT.SH DescriptionThe .PN ldlreadfunction searches the line number entries of the common object file currentlyassociated with .IR ldptr .The .PN ldlreadfunction begins its search with the line number entry for the beginning of a function and confines its search to the line numbers associated with a single function. The function is identified by.IR fcnindx ,which is the index of its local symbols entry in the object file symbol table.The.PN ldlreadfunction reads the entry with the smallest line number equal to or greaterthan.I linenuminto.IR linent ..PPThe.PN dlinitand .PN ldlitemfunctions provide the same behavior as .PN ldlread .After an initial call to.PN ldlreador.PN ldlinit ,.PN ldlitemcan be used to retrieve a series of line number entries associated with asingle function.The .PN ldlinitfunction simply finds the line number entries for the function identified by.I fcnindx.The .PN ldlitemfunction finds and reads the entry with the smallest line number equal to or greater than.I linenuminto.IR linent ..PPThe functions.PN ldlread ,.PN ldlinit ,and.PN ldlitemeach return either success or failure.  The.PN ldlread function fails if one of the following occurs:.IP \(bu 5If line number entries do not exist in the object file..IP \(bu 5If \fIfcnindx\fR does not index a function entry in the symbol table..IP \(bu 5If it does not find a line number equal to or greater than \fIlinenum\fR..PPThe .PN ldlitemfails if it does not find a line number equal to or greater than\fIlinenum\fR..SH See Alsoldclose(3x),ldopen(3x),ldtbindex(3x),ldfcn(5)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -