I've been reading the docs and tried looking through the source code of projects using libuv and it's only made me more confused as to how to even setup two basic requests :((
uv_fs_open(uv_loop, &open_req, path1, O_RDONLY, 0, on_open);
uv_fs_open(uv_loop, &open_req, path2, O_RDONLY, 0, on_open);
where and how exactly am i supposed to define and cleanup open_req (and others... read_req etc)
and am i using the on_open function correctly here?
I've tried the examples from the docs and they didn't really help me understand. A example of how to open two or more text files and print them using libuv would be a lot of help.