1 Star 0 Fork 0

Linux OS/musl

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

搜索帮助