2011年4月1日

摘要: 数据类型time_t: Calendar time#include <time.h>time_t time(time_t *t);[obsoleted by gettimeofday]获取自从1970.1.1 00:00:00到现在为止的时间,以秒为单位。#include <sys/timeb.h>int ftime(struct timeb *tp);[Obsoleted]#include <time.h>int clock_getres(clockid_t clk_id, struct timespec *res);int clock_gettime(c 阅读全文
posted @ 2011-04-01 17:09 做个不善的人 阅读(2449) 评论(0) 推荐(0)
 
摘要: A DLL can define two kinds of functions: exported and internal. The exported functions are intended to be called by other modules, as well as from within the DLL where they are defined. Internal functions are typically intended to be called only from within the DLL where they are defined. Although a 阅读全文
posted @ 2011-04-01 15:22 做个不善的人 阅读(224) 评论(0) 推荐(0)
 
摘要: The four functions dlopen(), dlsym(), dlclose(), dlerror() implement the interface to the dynamic linking loader.#include <dlfcn.h>void *dlopen(const char *filename, int flag);char *dlerror(void);void *dlsym(void *handle, const char *symbol);int dlclose(void *handle);dlerrordlerror() 返回一个适合程序员 阅读全文
posted @ 2011-04-01 14:56 做个不善的人 阅读(1440) 评论(0) 推荐(0)