C/C++运行时库剖析

一、引言         本文介绍运行时库实现的功能,你会看到在main函数执行之前都做了什么。先来理解以下代码: #include <stdio.h> void init(void) __attribute__((constructor)); void init(void){     printf(“before enter main!\n”); } void exit_func(void){
相关文章
相关标签/搜索