📄 dlfcn.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><dlfcn.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_003_136"> </a>NAME</h4><blockquote>dlfcn.h - dynamic linking</blockquote><h4><a name = "tag_000_003_137"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <dlfcn.h></code></pre></blockquote><h4><a name = "tag_000_003_138"> </a>DESCRIPTION</h4><blockquote>The<i><dlfcn.h></i>header defines at least the following macros for use in theconstruction of a<i><a href="dlopen.html">dlopen()</a></i>mode argument:<dl compact><dt>RTLD_LAZY<dd>Relocations are performed at an implementation-dependent time.<dt>RTLD_NOW<dd>Relocations are performed when the object is loaded.<dt>RTLD_GLOBAL<dd>All symbols are available for relocation processing of other modules.<dt>RTLD_LOCAL<dd>All symbols are not made available for relocation processing by othermodules.</dl><p>The header <i><dlfcn.h></i>declares the following functions which may alsobe defined as macros. Function prototypes must be providedfor use with an ISO C compiler.<pre><code>void *<a href="dlopen.html">dlopen</a>(const char *, int);void *<a href="dlsym.html">dlsym</a>(void *, const char *);int <a href="dlclose.html">dlclose</a>(void *);char *<a href="dlerror.html">dlerror</a>(void);</code></pre></blockquote><h4><a name = "tag_000_003_139"> </a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_003_140"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_003_141"> </a>SEE ALSO</h4><blockquote><i><a href="dlopen.html">dlopen()</a></i>,<i><a href="dlclose.html">dlclose()</a></i>,<i><a href="dlsym.html">dlsym()</a></i>,<i><a href="dlerror.html">dlerror()</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -