mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
expose EPOLLRDHUP (closes #27567)
This commit is contained in:
parent
6fb90905e2
commit
96e97169cc
3 changed files with 6 additions and 1 deletions
|
@ -2473,12 +2473,12 @@ PyInit_select(void)
|
|||
PyModule_AddIntMacro(m, EPOLLPRI);
|
||||
PyModule_AddIntMacro(m, EPOLLERR);
|
||||
PyModule_AddIntMacro(m, EPOLLHUP);
|
||||
PyModule_AddIntMacro(m, EPOLLRDHUP);
|
||||
PyModule_AddIntMacro(m, EPOLLET);
|
||||
#ifdef EPOLLONESHOT
|
||||
/* Kernel 2.6.2+ */
|
||||
PyModule_AddIntMacro(m, EPOLLONESHOT);
|
||||
#endif
|
||||
/* PyModule_AddIntConstant(m, "EPOLL_RDHUP", EPOLLRDHUP); */
|
||||
|
||||
#ifdef EPOLLRDNORM
|
||||
PyModule_AddIntMacro(m, EPOLLRDNORM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue