-
-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tb_dynamic_init
应该设法返回错误信息
#256
Comments
Title: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你在什么场景下需要该功能?
目前
tb_dynamic_init
在posix上会检查dlerror
并丢弃其返回值,而dlerror
第二次调用时一定返回空指针;因此如果加载动态链接库时出现错误,无法通过tbox或者系统API获取错误信息。描述可能的解决方案
tb_dynamic_init
以结构体的形式,打包返回符号表句柄和错误消息指针;描述你认为的候选方案
tb_dynamic_init
添加指针参数其他信息
dlerror(3p)
The text was updated successfully, but these errors were encountered: