1 Star 0 Fork 0

Linux OS/musl

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

搜索帮助