摘要:
跟atexit函数相识已久,man手册里对atexit的解释是这么一段:The atexit() function registers the given function to be called at normal process termination, either via exit(3) or via return from the program’s main(). Functions so registered are called in the reverse order of their registration; no arguments are passed.乍一看... 阅读全文