Home
last modified time | relevance | path

Searched refs:LISTEN_FD_NUM (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIt_stdlib_poll_002.cpp35 static const int LISTEN_FD_NUM = 10; variable
42 struct pollfd fds[LISTEN_FD_NUM] = {0}; in Pthread01()
46 for (i = 0; i < LISTEN_FD_NUM; i++) { in Pthread01()
52 ret = poll(fds, LISTEN_FD_NUM, 1000); // 1000, wait time. in Pthread01()
59 for (i = 0; i < LISTEN_FD_NUM; i++) { in Pthread01()
68 if (totalNum == LISTEN_FD_NUM) { in Pthread01()
73 ICUNIT_GOTO_EQUAL(totalNum, LISTEN_FD_NUM, -1, EXIT); in Pthread01()
84 for (i = 0; i < LISTEN_FD_NUM; i++) { in Testcase()
92 for (i = 0; i < LISTEN_FD_NUM; i++) { in Testcase()
99 for (i = 0; i < LISTEN_FD_NUM; i++) { in Testcase()
[all …]