{"id":14989896,"url":"https://github.com/curl/fcurl","last_synced_at":"2025-10-19T13:31:36.923Z","repository":{"id":55497191,"uuid":"56853202","full_name":"curl/fcurl","owner":"curl","description":"fcurl - fopen, fread, fwrite style functions for URL operations using libcurl","archived":false,"fork":false,"pushed_at":"2022-12-15T18:38:55.000Z","size":14,"stargazers_count":37,"open_issues_count":4,"forks_count":13,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-29T15:32:25.499Z","etag":null,"topics":["fopen","libcurl"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-22T12:17:18.000Z","updated_at":"2024-10-28T16:47:07.000Z","dependencies_parsed_at":"2023-01-29T04:00:24.908Z","dependency_job_id":null,"html_url":"https://github.com/curl/fcurl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curl%2Ffcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curl%2Ffcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curl%2Ffcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curl%2Ffcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curl","download_url":"https://codeload.github.com/curl/fcurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237133645,"owners_count":19260518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fopen","libcurl"],"created_at":"2024-09-24T14:19:06.096Z","updated_at":"2025-10-19T13:31:36.609Z","avatar_url":"https://github.com/curl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fcurl\n\nThe fopen, fread, fwrite et all functions are common and a standard \"idiom\" in\nmany C programs.\n\nBy providing fcurl* functions with the same general behavior as the file based\nversions, but instead allowing URLs where file names are otherwise used, this\nis an attempt to allow existing file-based applications to switch over to read\nand write files over common internet protocols instead.\n\n## API\n\nMaybe something like this?\n\n    FCURL *fcurl_open(const char *path, const char *mode);\n\n    size_t fcurl_read(void *ptr, size_t size, size_t nmemb, FCURL *stream);\n\n    size_t fcurl_write(const void *ptr, size_t size, size_t nmemb,\n                       FCURL *stream);\n\n    int fcurl_flush(FCURL *stream);\n\n    int fcurl_close(FCURL *stream);\n\n    int fcurl_getc(FCURL *stream);\n\n    char *fcurl_gets(char *s, int size, FCURL *stream);\n\n    int fcurl_ungetc(int c, FCURL *stream);\n\n    int fcurl_seek(FCURL *stream, long offset, int whence);\n\n    long fcurl_tell(FCURL *stream);\n\n    void fcurl_rewind(FCURL *stream);\n\n    int fcurl_getpos(FCURL *stream, fpos_t *pos);\n\n    int fcurl_setpos(FCURL *stream, const fpos_t *pos);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurl%2Ffcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurl%2Ffcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurl%2Ffcurl/lists"}