Home
last modified time | relevance | path

Searched refs:epFd (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIO_test_epoll_001.cpp50 int epFd; in testcase() local
64 epFd = epoll_create1(100); /* 100, cretae input, */ in testcase()
65 ICUNIT_GOTO_NOT_EQUAL(epFd, -1, epFd, OUT2); in testcase()
68 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
77 retval = epoll_wait(epFd, evWait, 2, 3000); /* 2, num of wait fd. 3000, wait time */ in testcase()
99 close(epFd); in testcase()
108 close(epFd); in testcase()
H A DIO_test_epoll_002.cpp56 int epFd = 0; in testcase() local
88 epFd = epoll_create1(100); /* 100, cretae input, */ in testcase()
89 ICUNIT_GOTO_NOT_EQUAL(epFd, -1, epFd, OUT2); in testcase()
92 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
103 retval = epoll_pwait(epFd, evWait, 2, 3000, &mask); /* 2, num of wait fd. 3000, wait time */ in testcase()
129 close(epFd); in testcase()

Completed in 2 milliseconds