summaryrefslogtreecommitdiff
path: root/tests/test_FD_ISSET_SETSIZE.c
diff options
context:
space:
mode:
authorjvoisin2023-11-01 21:55:04 +0100
committerjvoisin2023-11-01 21:55:04 +0100
commitcfdcaf72ca60db28ad8a7240a5a09e99151cab24 (patch)
tree520b4c88018a0509759ad0bf00c0482bca70ab10 /tests/test_FD_ISSET_SETSIZE.c
parent8439dc0d1b986e7652afd78c1462707f4bf90f8b (diff)
Add support for FD_ISSET
Diffstat (limited to 'tests/test_FD_ISSET_SETSIZE.c')
-rw-r--r--tests/test_FD_ISSET_SETSIZE.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_FD_ISSET_SETSIZE.c b/tests/test_FD_ISSET_SETSIZE.c
new file mode 100644
index 0000000..0362aaa
--- /dev/null
+++ b/tests/test_FD_ISSET_SETSIZE.c
@@ -0,0 +1,14 @@
1#include "common.h"
2
3#include <sys/select.h>
4
5int main(int argc, char** argv) {
6 fd_set rfds;
7
8 CHK_FAIL_START
9 FD_ISSET(FD_SETSIZE, &rfds);
10 CHK_FAIL_END
11
12 puts((const char*)&rfds);
13 return ret;
14}