什么可以使DLClose()失败?
在POSIX(或GNU)系统上,什么可以使 dlclose()
功能失败?
我知道它在重复接近时失败了;并且它在无效的指针论点上表现不佳(在我的系统上违反了细分)。但是还有其他情况可能会失败吗?
编辑:我尝试查看源代码真正弄清楚哪里可以看(dlclose.c
显然不是这个地方)。
On a POSIX (or GNU) system, what can make the dlclose()
function fail?
I know that it fails on repeat-close; and that it misbehaves on a null pointer argument (got a segmentation violation on my system). But are there other situations it can fail?
Edit: I tried looking at the source code and was kind of stumped - could not really figure out where to look (dlclose.c
is not the place apparently).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际实现为在这里。
查找
_DL_SIGNAL_ERROR()
的调用 - 有两个。The actual implementation is here.
Look for calls to
_dl_signal_error()
-- there are two.