You want a function that essentially does what fgets() does but you don't want to use fgets()?
|
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.
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
I may be able to work on this but I'm not clear yet on the goal.