码迷,mamicode.com
首页 > 其他好文 > 详细

unix环境高级编程-7-process env

时间:2014-10-14 17:20:49      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   sp   2014   on   cti   log   

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.

  bubuko.com,布布扣

2. environment list 

     extern char ** environ

     access to specific environment variable, use getenv() and putenv()

   bubuko.com,布布扣

    

3. memory arragement

    unix command size report the size(in bytes) of the text , data and bss segments

  bubuko.com,布布扣

 

     

unix环境高级编程-7-process env

标签:blog   http   io   ar   sp   2014   on   cti   log   

原文地址:http://www.cnblogs.com/reach/p/4024599.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!