Hey,

This whole family of functions, fopen, fread, fwrite, fgets, fclose and more are defined in the C standard since C89. You can’t really call yourself a C programmer without knowing them and probably even using them in at least a few places.

I’ve started to work on a library that provides a look-alike API with matching functions and behaviors, but that allows fopen() to instead specify a URL instead of a file name. I call it fcurl. It is hosted at https://github.com/bagder/fcurl

It is not strictly libcurl, as it is written to be on top of it but it is powered by libcurl of course.

The entire blog post is here:

https://daniel.haxx.se/blog/2016/04/24/fcurl-is-fread-and-friends-for-urls/

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to