首页 > 代码库 > unix环境高级编程-7-process env
unix环境高级编程-7-process env
1. exit handler.
atexit(void (*func)(void)); #automatically called by exit()
exit() calls these functions in reverse order of their registeration. Ease function is called as many times as it was registered.
2. environment list
extern char ** environ
access to specific environment variable, use getenv() and putenv()
3. memory arragement
unix command size report the size(in bytes) of the text , data and bss segments
unix环境高级编程-7-process env
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。