📄 ldclose.3x
字号:
.TH ldclose 3x RISC.SH Nameldclose, ldaclose \- close a common object file .SH Syntax.ft B.nf.ta \w'\s-1LDFILE\s+1\ \ \ 'u.B #include <stdio.h>.ie '\*p'' \{\.B #include <filehdr.h>.B #include <syms.h>.B #include <ldfcn.h>\}.el \{\.ft B#include "INCDIR\/filehdr.h"#include "INCDIR\/syms.h"#include "INCDIR\/ldfcn.h"\}.PP.BR "int ldclose (" ldptr ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.PP.BR "int ldaclose (" ldptr ).BR "\s-1LDFILE\s+1 \(**" ldptr ;.fi.ft R.DT.SH DescriptionThe.PN ldopen and.PN ldclosefunctions provide uniform access to simple object files andobject files that are members of archive files.An archive of common object files can be processed as if it is a series ofsimple common object files..PPIf.BI \s-1TYPE\s+1( ldptr )does not represent an archive file,.PN ldclosecloses the file and frees the memory allocated to the.BR \s-1LDFILE\s+1 " structure"associated with.IR ldptr .If.BI \s-1TYPE\s+1( ldptr )is the magic number for an archive file andif archive has more files,.PN ldclosereinitializes.BI \s-1OFFSET\s+1( ldptr )to the file address of the next archive memberand returns failure. The.SM.B LDFILEstructure is prepared for a later.MS ldopen 3x .In all other cases,.PN ldclosereturns success..PPThe .PN ldaclosefunction closes the file and frees the memory allocated to the.BR \s-1LDFILE\s+1 " structure"associated with .I ldptrregardless of the value of .BI \s-1TYPE\s+1 (ldptr).The .PN ldaclosefunction always returns success. This function is often used with .PN ldaopen ..SH See Alsofclose(3s),intro(3x)ldopen(3x),ldfcn(5),paths.h(4)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -