搜索资源列表
const
- 函数结构体应用klajsdlkfjaslkdfjlaskfjdlaskdjflaksf
filesystem
- 使用ftw函数对目录进行遍历,函数原型是: int ftw(const char*dirpath, int(*fn)(const char*fpath, const struct stat *sb, int typeflag), int nopenfd) ftw函数遍历位于dirpath目录下的目录树,往下一层层地递归式遍历子目录 -Deepen the understanding of linux file system
const
- 错误码 用来定义错误返回值这个是非常有用的-error number
mydu.tar
- unix du命令的简单实现,主要可以学习glob函数的使用-static int64_t mydu_getblocks(const char*path) { int i int64_t sum=0 static struct stat stat_result glob_t glob_result static int ret static char fullpath[PATHMAX] if (lstat(path, &stat
UICI
- 通用因特网IPV4网络编程接口 //TCP int uin_open_tcp(unsigned short port) int uin_accept(int fd, struct sockaddr_in *addr) int uin_connect(const char *cp, unsigned short port) int r_recv(int fd, void* buf, int size) int r_send(int fd, const void* m
get-device-info
- 这是一个获取硬件信息的函数,用于获取使用dmidecode命令获得的硬件信息 getDevInfo.c中有一个函数get_device_info,其原型如下 int get_device_info(const char *device,const char *item,char *mybuf,int buffsize) 请在main函数中包涵头文件 getDevInfo.c 使用此函数 -This is a function to obtain hard
getIP-impro
- 本程序用户获取主机的IP地址和MAC地址,头文件与函数原型如下 #include "getIP.h" int get_ip(char *ipaddr, char *netmask, const char *ethname) #include "getIP.h" int get_mac(char *mac) 以下是get_ip函数简单使用范例 //定义IP和MAC所需要的存储空间 char ethname[] = "eth0" c
StringClass[LZJ-.2011.10.3]
- 实现一个STRING类,这个类可以进行=, +,<<, >>, int length(),int find(const char* szObj)。-string operate
msg
- 消息队列是一个链表,链表的每一个结点是一个消息。消息队列存放在内核中并由消息队列标示符标识。 对消息队列的操作有下面三种类型: a. 打开或创建消息队列 int msgget(key_t key, int flag) 参数key是一个键值,由ftok函数获得, flg参数是一些标志位。函数返回与健值key相对对应的消息队列描述字。 b. 读写操作 int msgsnd(int msqid, const void *ptr, size_t nbytes, int flag
bufprint
- Added copyrigth notice, added const definitions to function. -Added copyrigth notice, added const definitions to function.
allocator
- align all the memory blocks on a cache-line boundary const int SimpleBestFitAllocator::kMemoryAlign = 32.
adb_winapi_test
- Android ADB interface identifier const GUID kAdbInterfaceId = ANDROID_USB_CLASS_ID .
android_app_NativeActivity
- AInputQueue(const sp<InputChannel>& channel, int workWrite)
ApplicationCacheGroup
- Application CacheGroup (const KURL& manifestURL, bool isCopy) for Linux Driver.
qstringlist
- The QStringListIterator type definition provides a Java-style const iterator for QStringList for Linux.
Test_const_class
- Test const class extends Dx Test Case Source Code for Linux.
T_iget_8
- Test const 16 extends DxTestCase Source Code for Linux.
ssl
- Almost const, except that xterm title may be changed in an initcall for Linux v2.13.6.
const
- const.h: Macros for dealing with constants.
const
- const.h: Macros for dealing with constants.