time : 获取当前日历时间(作为单个数字)
Synopsis
Section titled “Synopsis”#include <time.h>time_t time(time_t *t);```### Description
time 查找当前时间的最佳可用表示形式并将其返回,编码为 time_t。除非参数为 NULL,否则它会将相同的值存储在 t 处。### Returns
结果为 -1 表示当前时间不可用;否则结果表示当前时间。
---
**权威来源**: BUSMASTER DITA help source `time.dita`, compiled into `BUSMASTER.CHM` with the application.