ppoll.c\linux\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/ppoll.c
blob: 9e262477ba93de416a3498f71f6eb2e75a059eec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#define _GNU_SOURCE
#include <poll.h>
#include <signal.h>
#include "syscall.h"
int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
{
	return syscall_cp(SYS_ppoll, fds, n,
		to ? (struct timespec []){*to} : 0, mask, _NSIG/8);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月30日 10:30:02 +0000

AltStyle によって変換されたページ (->オリジナル) /