Skip to content

How to use uv_fs_read to read a single line from an input file? #4393

Answered by saghul
HallofFamer asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@bnoordhuis
Comment options

@HallofFamer
Comment options

@bnoordhuis
Comment options

@HallofFamer
Comment options

@bnoordhuis
Comment options

Answer selected by HallofFamer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants