acl/lib_acl/include/stdlib/acl_timeops.h
zsxxsz cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00

31 lines
460 B
C

/*
* Name: misc.h
* Author: zsx
* Date: 2003-12-16
* Version: 1.0
*/
#ifndef __ACL_MISC_INCLUDE_H__
#define __ACL_MISC_INCLUDE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "acl_define.h"
#include <time.h>
/* acl_str2time.c */
/**
* 将时间字符串转换为 time_t 类型
* @param str 时间字符串格式为: year-month-mday(如: 2004-1-1)
* @return time_t 类型的值
*/
ACL_API time_t acl_str2time_t(const char *str);
#ifdef __cplusplus
}
#endif
#endif