博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
__libc_start_main
阅读量:2400 次
发布时间:2019-05-10

本文共 1331 字,大约阅读时间需要 4 分钟。

__libc_start_main
Name
__libc_start_main -- initialization routine
Synopsis
int __libc_start_main(int *(main) (int, char * *, char * *), int argc, char * * ubp_av, void (*init) (void), void (*fini) (void), void (*rtld_fini) (void), void (* stack_end));
Description
The __libc_start_main() function shall perform any necessary initialization of the execution environment, call the main function with appropriate arguments, and handle the return from main(). If the main() function returns, the return value shall be passed to the exit() function.
Note: While this specification is intended to be implementation independent, process and library initialization may include:
performing any necessary security checks if the effective user ID is not the same as the real user ID.
initialize the threading subsystem.
registering the rtld_fini to release resources when this dynamic shared object exits (or is unloaded).
registering the fini handler to run at program exit.
calling the initializer function (*init)().
calling main() with appropriate arguments.
calling exit() with the return value from main().
This list is an example only.
__libc_start_main() is not in the source standard; it is only in the binary standard.
See Also
The section on Process Initialization in each of the architecture specific parts of ISO/IEC 23360.
本文转自

转载地址:http://xrnob.baihongyu.com/

你可能感兴趣的文章
OSI参考模型的各层
查看>>
个人资讯
查看>>
chinaunix
查看>>
Apache Tomcat
查看>>
Unix 高级用户命令 lsof 和 fuser (zt)
查看>>
msn一直登陆不上,没有办法只好启用meebo!
查看>>
msn小工具适用!
查看>>
redhat ntsysv中一些服务的简单解释(zt)
查看>>
LSOF使用技巧 (zt)
查看>>
linux的日志文件
查看>>
dbasupport
查看>>
使用logrotate 管理Linux日誌檔(zt)
查看>>
第一次安装完linux不能上网的解决办法?
查看>>
zlc158
查看>>
linux安装完后的操作!
查看>>
(redhat) 在tcp/ip层次上创建虚拟接口.
查看>>
Apache
查看>>
用iptales实现包 过虑型防火墙(zt)
查看>>
如何用iptables实现NAT(zt)
查看>>
IBM-Windows 到 Linux 之旅: 系列文章概述
查看>>