fcurl
fcurl copied to clipboard
fcurl - fopen, fread, fwrite style functions for URL operations using libcurl
Are you sure you don't want to use `restrict`, as it shows in the fopen() man page? `FILE *fopen(const char *restrict pathname, const char *restrict mode);` https://github.com/curl/fcurl/blob/b50c7e026e788249a8e40fed8680eb02b949e6c4/src/fcurl.c#L143-L146
You want a function that essentially does what fgets() does but you don't want to use fgets()? https://github.com/curl/fcurl/blob/b50c7e026e788249a8e40fed8680eb02b949e6c4/src/fcurl.c#L237-L244 I may be able to work on this but I'm not clear...
Fixed a bug in the callback (memcpy offset in the user buffer was missing) plus minor things to make it work for a "read" scenario
I'm not sure if this is out of scope for fcurl or not, but I figured it was worth asking. Is there any plan to provide an `fseek` analogue, providing...