爱上香烟
发布时间:2016-04-13 19:30:48
#define __list_for_each(pos, head) \ for (pos = (head)->next; pos != (head); pos = pos->next)#define list_for_each_safe(pos, n, head) \ for (pos = (head)->next, n = pos->next; pos != (head); \ pos = n, n = pos->next)__list_for_each(....){&.........【阅读全文】
发布时间:2016-04-12 20:04:43
#ifndef _ACMSG_LIST_H#define _ACMSG_LIST_H#include #include #include "../private/cfm/cfmsocket.h"//#include "ethqos.h"/** * container_of - cast a member of a structure out to the containing structure * @ptr:the pointer to the member. * @type:the type.........【阅读全文】
发布时间:2016-04-12 15:21:45
pkg-config的用法pkg-configpkg-config程序是干什么用的?简单的说就是向用户向程序提供相应库的路径、版本号等信息的程序。譬如说我们运行以下命令:pkg-config 查看gcc的CFLAGS参数$pkg-config --libs --cflags opencv会显示如下信息:-I/usr/include/opencv -l.........【阅读全文】