2023年12月13日

C语言 init和exit

摘要: #include <stdio.h> #define __init __attribute__((constructor)) #define __exit __attribute__((destructor)) // 文件加载时初始化 void __init my_init(void) { prin 阅读全文

posted @ 2023-12-13 08:58 王景迁 阅读(5) 评论(0) 推荐(0) 编辑

导航