test_ppoll_static.c (240B)
1 #include "common.h" 2 3 #define _GNU_SOURCE 4 #include <poll.h> 5 6 int main(int argc, char** argv) { 7 struct pollfd buffer[12] = {0}; 8 9 CHK_FAIL_START 10 ppoll(buffer, 14, NULL, NULL); 11 CHK_FAIL_END 12 13 puts((const char*)buffer); 14 return ret; 15 }