Ai
1 Star 0 Fork 0

Linux OS/musl

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

搜索帮助