{"id":29054980,"url":"https://github.com/tapchute/fileaccess","last_synced_at":"2025-07-11T12:07:46.658Z","repository":{"id":271291083,"uuid":"912947983","full_name":"TapChute/FileAccess","owner":"TapChute","description":"C file I/O made easy.","archived":false,"fork":false,"pushed_at":"2025-01-06T19:55:34.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T04:49:24.521Z","etag":null,"topics":["c99","cmake","files","filesystem","io","library","utility","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TapChute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-06T18:09:49.000Z","updated_at":"2025-01-06T19:57:01.000Z","dependencies_parsed_at":"2025-01-06T20:44:27.109Z","dependency_job_id":null,"html_url":"https://github.com/TapChute/FileAccess","commit_stats":null,"previous_names":["somedudenamedanthony/fileaccess","tapchute/fileaccess"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TapChute/FileAccess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TapChute%2FFileAccess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TapChute%2FFileAccess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TapChute%2FFileAccess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TapChute%2FFileAccess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TapChute","download_url":"https://codeload.github.com/TapChute/FileAccess/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TapChute%2FFileAccess/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262181059,"owners_count":23271319,"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":["c99","cmake","files","filesystem","io","library","utility","wrapper"],"created_at":"2025-06-27T03:11:35.335Z","updated_at":"2025-06-27T03:11:37.754Z","avatar_url":"https://github.com/TapChute.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileAccess\n\n C file I/O made easy.\n*A simple wrapper around C file I/O.*\n\n## Dependencies\n\n*FileAccess* requires nothing but the C standard library *(commonly known as glibc or libc)* for wrappers around system/kernel calls.\nUsed functions are:\n\n* `fopen` *(fopen_s on UCRT)* for getting file handles.\n* `fclose` for closing file handles.\n* `fread` for reading files.\n* `fwrite` for writing to files.\n* `malloc` for allocating memory.\n* `free` for freeing memory.\n* `fseek` for walking through the file.\n* `ftell` for retrieving how far *we've* walked.\n\n## Installation\n\nTo integrate the *FileAccess* library into your project, simply clone it using the [*CMake Package Manager (CPM)*](https://github.com/cpm-cmake/CPM.cmake) or by manually adding it to your project by downloading a release or using git to clone it in a separate directory.\n\n\n### Making use of *CPM*:\n\n*Installation of CPM*\n\n```bash\nmkdir -p cmake\nwget -O cmake/CPM.cmake https://github.com/cpm-cmake/CPM.cmake/releases/latest/download/get_cpm.cmake\n```\n\n*Fetching FileAccess*\n\n```cmake\n...\ninclude(\"${CMAKE_CURRENT_LIST_DIR}/cmake/CPM.cmake\")\nCPMAddPackage(\"gh:SomeDudeNamedAnthony/FileAccess\")\n...\n```\n\n*Including it in your project's build.*\n\n```cmake\n...\ntarget_link_library(\u003cTARGET\u003e \u003cVISIBILITY\u003e fileaccess)\n...\n```\n\n\n\n### Making use of Git submodules.\n\n*Inside an existing git repository.*\n*Adding the submodule:*\n\n```bash\ngit submodule add \"https://github.com/SomeDudeNamedAnthony/FileAccess\"\n```\n\n\n\n### Making use of Git cloning\n\n```bash\ngit clone \"https://github.com/SomeDudeNamedAnthony/FileAccess\"\n```\n\n`Note: Using submodules is preferred over manual installation for easy integration.`\n\n\n## Licensing\n\nTo view the license for this project, please see [LICENSE.md](LICENSE.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapchute%2Ffileaccess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftapchute%2Ffileaccess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapchute%2Ffileaccess/lists"}