01 2021 档案

摘要:c语言实现国际化翻译 阅读全文
posted @ 2021-01-29 17:31 刘大侠GG_B 阅读(35) 评论(0) 推荐(0)
摘要:参考博客https://www.cnblogs.com/jiangzhaowei/p/4193283.html #include <signal.h> #include <errno.h> #include <pthread.h> #include <unistd.h> #include <sys/ 阅读全文
posted @ 2021-01-29 11:33 刘大侠GG_B 阅读(191) 评论(0) 推荐(0)
摘要:override var += -g #通过命令行传递的参数,不能覆盖var的值 sources = f1.c f2.c define hello @echo "test define" @echo "test define hello" endef test:foo $(call hello) # 阅读全文
posted @ 2021-01-28 15:42 刘大侠GG_B 阅读(98) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdarg.h> int foo(int flag, ...){ va_list ap; int value,test; if(flag == 1) { va_start(ap,flag); value=va_arg(ap,int); te 阅读全文
posted @ 2021-01-25 15:15 刘大侠GG_B 阅读(45) 评论(0) 推荐(0)
摘要:1 #include <stdio.h> 2 void (*p)(int); // <==>int a;变量的定义 3 void *f(int);//声明 4 5 void foo(int a) 6 { 7 printf("foo: %d\n", a); 8 } 9 10 int main() 11 阅读全文
posted @ 2021-01-21 15:37 刘大侠GG_B 阅读(69) 评论(0) 推荐(0)
摘要:因为initrd.img只是系统启动的一个虚拟磁盘而已,系统启动完成后就没有用处了,因此,我决定用busybox来完成一些必要的启动工作(用的是busybox-1.5.1,配置文件如下) cd /tmp mkdir initrd cd initrd mkdir dev proc sys lib mn 阅读全文
posted @ 2021-01-11 10:50 刘大侠GG_B 阅读(769) 评论(0) 推荐(0)