doc: add uv_poll_cb status==UV_EBADF note (#3797)
This commit is contained in:
parent
acfe668ecb
commit
821b0ba8cb
@ -101,7 +101,9 @@ API
|
|||||||
with one of the `UV_E*` error codes (see :ref:`errors`). The user should
|
with one of the `UV_E*` error codes (see :ref:`errors`). The user should
|
||||||
not close the socket while the handle is active. If the user does that
|
not close the socket while the handle is active. If the user does that
|
||||||
anyway, the callback *may* be called reporting an error status, but this is
|
anyway, the callback *may* be called reporting an error status, but this is
|
||||||
**not** guaranteed.
|
**not** guaranteed. If `status == UV_EBADF` polling is discontinued for the
|
||||||
|
file handle and no further events will be reported. The user should
|
||||||
|
then call :c:func:`uv_close` on the handle.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Calling :c:func:`uv_poll_start` on a handle that is already active is
|
Calling :c:func:`uv_poll_start` on a handle that is already active is
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user