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

📄 ldshread.3x

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 3X
字号:
.TH ldshread 3x RISC.SH Nameldshread, ldnshread \- read an indexed or named section header of a common object file.SH Syntax.ta \w'unsigned\ 'u +\w'short\ \ 'u.nf.B #include <stdio.h>.ie '\*p'' \{\.B #include <filehdr.h>.B #include <scnhdr.h>.B #include <syms.h>.B #include <ldfcn.h> \}.el \{\.B #include "\s-1INCDIR\s+1\/filehdr.h".B #include "\s-1INCDIR\s+1\/scnhdr.h".B #include "\s-1INCDIR\s+1\/syms.h".B #include "\s-1INCDIR\s+1\/ldfcn.h" \}.PP.BR "int ldshread (" "ldptr, sectindx, secthead" ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.BR "unsigned short" " sectindx" ;.BR "\s-1SCNHDR\s+1 \(**" secthead ;.PP.BR "int ldnshread (" "ldptr, sectname, secthead" ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.BR char " \(**sectname" ;.BR "\s-1SCNHDR\s+1 \(**" secthead ;.fi.DT.SH DescriptionThe .PN ldshread\^function reads the section header specified by.I sectindx\^of the common object filecurrently associated with.I ldptr\^into the area of memory beginning at.IR secthead ..PPThe.PN ldnshread\^functions reads the section header specified by.I sectname\^into the area of memory beginning at.IR secthead ..PPThe .PN ldshread\^and.PN ldnshread\^functions return success or failure.If .I sectindx\^is greater than the number of sections in the object file,.I ldshread \^fails.If there is no section name corresponding with.IR sectname,.PN ldnshread\^fails.If it cannot read the specified section header, either function fails..NTThe first section header has an index of.IR one ..NEThe program must be loaded with the object file access routine library.BR libmld.a ..SH See Alsoldclose(3x), ldopen(3x), ldfcn(5).

⌨️ 快捷键说明

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