Thanks to Will Miles.
#warning "Only operating system support for pollts(2) can correct this."
int
-pollts(struct pollfd *restrict fds, nfds_t nfds,
- const struct timespec *restrict ts, const sigset_t *restrict sigmask)
+pollts(struct pollfd *__restrict fds, nfds_t nfds,
+ const struct timespec *__restrict ts, const sigset_t *__restrict sigmask)
{
int r, timeout;
sigset_t oldset;
#include <time.h>
int
-pollts(struct pollfd *restrict, nfds_t, const struct timespec *restrict,
- const sigset_t *restrict);
+pollts(struct pollfd *__restrict, nfds_t, const struct timespec *__restrict,
+ const sigset_t *__restrict);
#endif
#include "pollts.h"
int
-pollts(struct pollfd *restrict fds, nfds_t nfds,
- const struct timespec *restrict ts, const sigset_t *restrict sigmask)
+pollts(struct pollfd *__restrict fds, nfds_t nfds,
+ const struct timespec *__restrict ts, const sigset_t *__restrict sigmask)
{
fd_set read_fds;
nfds_t n;