c
stuhu
这个作者很懒,什么都没留下…
展开
-
c中位域
struct BSOCK {......volatile bool timed_out: 1; /* timed out in read/write */volatile bool terminated: 1; /* set when BNET_TERMINATE arrives */bool duped: 1; /* set if duped BSOCK */bool spool: 1; /*转载 2007-11-09 23:48:00 · 256 阅读 · 0 评论 -
statfs获得分区使用情况
#include ;#include ;#include ;#define Gsize (1024.00*1024.00*1024.00)#define Msize (1024.00*1024.00)#ifndef EXT2_SUPER_MAGIC#define EXT2_SUPER_MAGIC 0xef53#endifint main(){转载 2007-11-10 00:27:00 · 529 阅读 · 0 评论 -
iniparser 操作
/*-------------------------------------------------------------------------*//** @file iniparser.h @author N. Devillard @date Mar 2000 @version $Revision: 1.20 $ @brief Parser for i原创 2007-11-13 23:35:00 · 1634 阅读 · 1 评论 -
线程安全list,安全文件
1.常用队列#ifndef LINK_H#define LINK_H#include #include #include /* Maximum number of characters in a link address */#define LINK_ADDRESS_MAX 17/* Value to usewhen any listen port is acceptable */原创 2007-11-14 00:09:00 · 1239 阅读 · 0 评论