typedef int (*init_fnc_t)(void) 如何理解
最近在看uboot启动流程源码中看到了这一个用法,特此记录学习。截取u-boot部分代码出来如下:typedef int (*init_fnc_t)(void);static init_fnc_t init_sequence_f[] = { setup_ram_buf, setup_mon_len, initf_console_record}typedef...
原创
2020-04-08 23:18:17 ·
2164 阅读 ·
0 评论