📄 dlerror.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>dlerror</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_127"> </a>NAME</h4><blockquote>dlerror - get diagnostic information</blockquote><h4><a name = "tag_000_003_128"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="dlfcn.h.html">dlfcn.h</a>>char *dlerror(void);</code></pre></blockquote><h4><a name = "tag_000_003_129"> </a>DESCRIPTION</h4><blockquote><i>dlerror()</i>returns a null-terminated character string (with no trailing newline)that describes the last error that occurred during dynamic linkingprocessing. If no dynamic linking errors have occurred since the lastinvocation of<i>dlerror()</i>,<i>dlerror()</i>returns NULL.Thus, invoking <i>dlerror()</i>a second time, immediately following a prior invocation, will result inNULL being returned.</blockquote><h4><a name = "tag_000_003_130"> </a>RETURN VALUE</h4><blockquote>If successful, <i>dlerror()</i>returns a null-terminated character string. Otherwise, NULL is returned.</blockquote><h4><a name = "tag_000_003_131"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_000_003_132"> </a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_003_133"> </a>APPLICATION USAGE</h4><blockquote>The messages returned by <i>dlerror()</i>may reside in a static buffer that is overwritten on each call to<i>dlerror()</i>.Application code should not write to this buffer. Programs wishing to preserve an error message should make theirown copies of that message. Depending on the application environment with respect to asynchronous execution events, such as signals or otherasynchronous computation sharing the address space, portableapplications should use a critical section to retrieve the error pointer and buffer.</blockquote><h4><a name = "tag_000_003_134"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_003_135"> </a>SEE ALSO</h4><blockquote><i><a href="dlclose.html">dlclose()</a></i>,<i><a href="dlopen.html">dlopen()</a></i>,<i><a href="dlsym.html">dlsym()</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 + -