摘要: ./bootstrap.sh ./b2 sudo ./b2 install --prefix=/tools/boost 阅读全文
posted @ 2019-12-17 21:04 MoonXu 阅读(133) 评论(0) 推荐(0) 编辑
摘要: time_t time(time_t *tloc); 功能:获取纪元1970-01-01 00:00:00以来所经历的秒数 参数: tloc:用来存储返回时间 返回值:成功:返回秒数, 失败:-1 struct tm *localtime(const time_t *timep); struct t 阅读全文
posted @ 2019-12-17 10:30 MoonXu 阅读(167) 评论(0) 推荐(0) 编辑
摘要: int stat(const char *pathname, struct stat *statbuf); 功能:获取文件的元数据 参数: pathname:文件路径 statbuf:保存文件元数据的结构体 返回值:成功:0 失败:-1,设置errno char *ctime(const time_ 阅读全文
posted @ 2019-12-17 10:01 MoonXu 阅读(351) 评论(0) 推荐(0) 编辑