📄 ldgetname.3x
字号:
.TH ldgetname 3x RISC.SH Nameldgetname \- retrieve symbol name for object filesymbol table entry.SH Syntax.nf.B "#include <stdio.h>".B "#include <filehdr.h>".B "#include <sym.h>".B "#include <ldfcn.h>".fi.sp.nf\fB char *ldgetname (ldptr, symbol)LDFILE * ldptr ;pSYMR * symbol ;\fR.fi.SH DescriptionThe .PN ldgetnamefunction returns a pointer to the name associated with \fIsymbol\fPas a string. The string is contained in a static buffer.Because the buffer can be overwrittenby later calls to .PN ldgetname , the caller must copy the buffer if the name is to be saved..PPIf the name cannot be retrieved, .PN ldgetname returns null (defined in \fB<stdio.h>\fR) for an object file.This occurs in the following instances:.IP \(bu 5The string table cannot be found.IP \(bu 5The name's offset into the string table is beyond theend of the string table.PPTypically,.PN ldgetname is called immediately after a successful call to .PN ldtbread. The .PN ldgetname retrieves the name associated with the symbol table entry filled by the function,.PN ldtbread ..SH See Alsointro(3x), ldclose(3x), ldopen(3x), ldtbseek(3x), ldtbread(3x),ldfcn(5).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -