1 Star 0 Fork 0

ForkedRepositories/putty

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
time.c 366 Bytes
一键复制 编辑 原始数据 按行查看 历史
/*
* Portable implementation of ltime() for any ISO-C platform where
* time_t behaves. (In practice, we've found that platforms such as
* Windows and Mac have needed their own specialised implementations.)
*/
#include <time.h>
#include <assert.h>
struct tm ltime(void)
{
time_t t;
time(&t);
assert (t != ((time_t)-1));
return *localtime(&t);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/forked/putty.git
git@gitee.com:forked/putty.git
forked
putty
putty
master

搜索帮助