doc: filename arg to uv_fs_event_cb can be NULL (#4177)
Refs: https://github.com/libuv/libuv/issues/4160
This commit is contained in:
parent
9956da1567
commit
c5f027d6be
@ -39,8 +39,12 @@ Data types
|
|||||||
.. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status)
|
.. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status)
|
||||||
|
|
||||||
Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly
|
Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly
|
||||||
after the handle is started. If the handle was started with a directory the
|
after the handle is started.
|
||||||
`filename` parameter will be a relative path to a file contained in the directory.
|
|
||||||
|
If the handle was started with a directory the `filename` parameter will
|
||||||
|
be a relative path to a file contained in the directory, or `NULL` if the
|
||||||
|
file name cannot be determined.
|
||||||
|
|
||||||
The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements.
|
The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements.
|
||||||
|
|
||||||
.. c:type:: uv_fs_event
|
.. c:type:: uv_fs_event
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user