Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code for fcurl_fgets() #3

Open
andy5995 opened this issue Dec 15, 2022 · 0 comments
Open

Add code for fcurl_fgets() #3

andy5995 opened this issue Dec 15, 2022 · 0 comments

Comments

@andy5995
Copy link

You want a function that essentially does what fgets() does but you don't want to use fgets()?

fcurl/src/fcurl.c

Lines 237 to 244 in b50c7e0

char *fcurl_fgets(char *ptr, size_t size, struct fcurl_handle *file)
{
size_t want = size - 1;/* always need to leave room for zero termination */
/* add code */
return ptr;/*success */
}

I may be able to work on this but I'm not clear yet on the goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant