Lines Matching refs:callback
21 callback is null. The return value of functions is a :ref:`libuv error code
23 The *asynchronous* form is called when a callback is passed and the return
50 void callback(uv_fs_t* req);
53 a callback for when the file is opened:
63 ``uv_fs_open`` callback. If the file is successfully opened, we start reading it.
65 .. rubric:: uvcat/main.c - read callback
73 be filled with data before the read callback is triggered. The ``uv_fs_*``
85 Filesystem writing is similarly simple using ``uv_fs_write()``. *Your callback
86 will be triggered after the write is complete*. In our case the callback
90 .. rubric:: uvcat/main.c - write callback
223 We start monitoring ``stdin``. The ``alloc_buffer`` callback is invoked as new
237 The read callback ``nread`` parameter is less than 0 on any error. This error
244 The allocation callback may return a buffer with length zero if it fails to
245 allocate memory. In this case, the read callback is invoked with error
249 The read callback may be called with ``nread = 0``, indicating that at this
259 does not get passed through to the write callback trigged on write completion. To
325 The callback will receive the following arguments:
339 .. rubric:: onchange/main.c - file change notification callback