- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 如何定义不定参数的函数
声明:void function(int, int, ...); 定义: #include void function(int a, int b, ...) { int c = 0; va_list ap; va_start(ap, b); c = va_arg(ap, int); va_end; }
2012-10-22 16:37:34 1058
转载 Linux多线程编程(不限Linux)
——本文一个例子展开,介绍Linux下面线程的操作、多线程的同步和互斥。 前言 线程?为什么有了进程还需要线程呢,他们有什么区别?使用线程有什么优势呢?还有多线程编程的一些细节问题,如线程之间怎样同步、互斥,这些东西将在本文中介绍。我在某QQ群里见到这样一道面试题: 是否熟悉POSIX多线程编程技术?如熟悉,编写程序完成如下功能: 1)有一int型全局变量g_Fla
2012-10-22 11:42:41 534
Linux Kernel DTS specification 《devicetree-specification-v0.4-r》
2022-03-19
glib2 帮助文档
2012-10-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人