1 Star 0 Fork 0

Linux OS/musl

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
utimensat_time32.c 365 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rich Felker 提交于 2019-08-03 03:52 +08:00 . add time32 ABI compat shims, compat source tree
#include "time32.h"
#include <time.h>
#include <sys/stat.h>
int __utimensat_time32(int fd, const char *path, const struct timespec32 times32[2], int flags)
{
return utimensat(fd, path, !times32 ? 0 : ((struct timespec[2]){
{.tv_sec = times32[0].tv_sec,.tv_nsec = times32[0].tv_nsec},
{.tv_sec = times32[1].tv_sec,.tv_nsec = times32[1].tv_nsec}}),
flags);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/linux-os/musl.git
git@gitee.com:linux-os/musl.git
linux-os
musl
musl
master

搜索帮助