摘要:
数据类型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)