How to use uv_fs_read
to read a single line from an input file?
#4393
-
I am trying to use libuv to add asynchronous file IO for an experimental programming language, and I am a bit confused about how to use So here is my question, is it possible to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
You would need to read your til you find the line break. Since uv_fs_read works with offsets, you can then resume reading where you left off. |
Beta Was this translation helpful? Give feedback.
You would need to read your til you find the line break.
Since uv_fs_read works with offsets, you can then resume reading where you left off.