summaryrefslogtreecommitdiff
path: root/tests/test_select_dynamic.c
blob: e67baf3846796150a0062708e72598aec4553a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "common.h"

#include <sys/select.h>

int main(int argc, char** argv) {
#if !defined(__clang__)
  fd_set rfds;

  CHK_FAIL_START
  select(FD_SETSIZE + argc, &rfds, NULL, NULL, NULL);
  CHK_FAIL_END

  puts((const char*)&rfds);
#endif
  return ret;
}