--- /dev/null
+/* COVERAGE: epoll_create epoll_ctl epoll_wait poll ppoll */
+#define _GNU_SOURCE
+#include <sys/epoll.h>
+#include <poll.h>
+#include <signal.h>
+
+int main()
+{
+ struct epoll_event ev;
+ struct pollfd pfd = {7, 0x23, 0};
+ int fd;
+ struct timespec tim = {.tv_sec=0, .tv_nsec=200000000};
+ sigset_t sigs;
+
+ sigemptyset(&sigs);
+ sigaddset(&sigs,SIGUSR2);
+
+ fd = epoll_create(32);
+ // epoll_create (32)
+
+ epoll_ctl(fd, EPOLL_CTL_ADD, 13, &ev);
+ // epoll_ctl (3, EPOLL_CTL_ADD, 13, XXXX)
+
+ epoll_wait(fd, &ev, 17,0);
+ // epoll_wait (3, XXXX, 17, 0)
+ close(fd);
+
+ poll(&pfd, 1, 0);
+ // poll (XXXX, 1, 0)
+
+ ppoll(&pfd, 1, &tim, &sigs);
+ // ppoll (XXXX, 1, \[0.200000000\], XXXX, 8)
+
+ return 0;
+}
--- /dev/null
+/* COVERAGE: select pselect6 pselect7 */
+#define _GNU_SOURCE
+#include <unistd.h>
+#include <sys/select.h>
+#include <signal.h>
+
+int main()
+{
+ int fd;
+ struct timespec tim = {0, 200000000};
+ sigset_t sigs;
+ fd_set rfds;
+ struct timeval tv = {0, 117};
+
+ sigemptyset(&sigs);
+ sigaddset(&sigs,SIGUSR2);
+
+ select( 1, &rfds, NULL, NULL, &tv);
+ // select (1, XXXX, 0x[0]+, 0x[0]+, \[0.000117\])
+
+ tv.tv_sec = 0;
+ tv.tv_usec = 113;
+
+ select( 1, NULL, NULL, NULL, &tv);
+ // select (1, 0x[0]+, 0x[0]+, 0x[0]+, \[0.000113\])
+
+ pselect( 1, &rfds, NULL, NULL, &tim, &sigs);
+ //pselect[67] (1, XXXX, 0x[0]+, 0x[0]+, \[0.200000000\], XXXX)
+
+ pselect( 0, NULL, NULL, NULL, &tim, &sigs);
+ // pselect[67] (0, 0x[0]+, 0x[0]+, 0x[0]+, \[0.200000000\], XXXX) =
+
+ return 0;
+}