{"id":23465855,"url":"https://github.com/vokungahrotlaas/inf-process","last_synced_at":"2026-04-29T17:06:23.786Z","repository":{"id":192256192,"uuid":"685787475","full_name":"VokunGahrotLaas/inf-process","owner":"VokunGahrotLaas","description":"C++ wrapper for C io / POSIX / Windows functions.","archived":false,"fork":false,"pushed_at":"2024-03-19T19:29:47.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T03:19:58.314Z","etag":null,"topics":["io","posix","windows","wrapper"],"latest_commit_sha":null,"homepage":"","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/VokunGahrotLaas.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T02:25:00.000Z","updated_at":"2023-09-12T16:44:32.000Z","dependencies_parsed_at":"2024-03-19T20:38:29.549Z","dependency_job_id":null,"html_url":"https://github.com/VokunGahrotLaas/inf-process","commit_stats":null,"previous_names":["vokungahrotlaas/pipes","vokungahrotlaas/stdio-stream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VokunGahrotLaas%2Finf-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VokunGahrotLaas%2Finf-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VokunGahrotLaas%2Finf-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VokunGahrotLaas%2Finf-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VokunGahrotLaas","download_url":"https://codeload.github.com/VokunGahrotLaas/inf-process/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601506,"owners_count":21131609,"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":["io","posix","windows","wrapper"],"created_at":"2024-12-24T11:40:06.212Z","updated_at":"2026-04-29T17:06:18.762Z","avatar_url":"https://github.com/VokunGahrotLaas.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inf-process\n\n[![inf-process make check](https://github.com/VokunGahrotLaas/inf-process/actions/workflows/check.yml/badge.svg?branch=master)](https://github.com/VokunGahrotLaas/inf-process/actions/workflows/check.yml?query=branch%3Amaster)\n\nC++ wrapper for C io / POSIX / Windows functions.\n\n## Features\n\n* Wrapping a FILE* in a inf::stdio_stream.\n\n* Creating a inf::stdio_stream from a POSIX fd / Windows HANDLE.\n\n* Using dup() and dup2() on inf::stdio_stream with safe-ish versions.\n\n* Wrapping a pipe() in a inf::pipe.\n\n* Wrapping socket APIs with `\u003cinf/network.hpp\u003e`\n\n* Wrapping posix_spawn/waitpid/waitid on Unix \\\n    \u0026 _spawnvpe/_cwait on Windows with inf::spawn.\n\n* Wrapping fork/waitpid/waitid on Unix with inf::fork.\n\n* Errno wrapper for all function that set errno with inf::errno_guard, \\\n    throws inf::errno_error with a source_location, \\\n    the function name that set errno \u0026 the errno value.\n\n* Wrapping memfd_create/ftruncate on Unix \u0026 CreateFileMappingA on Windows with \\\n    inf::shared_memory.\n\n* Wrapping mmap on Unix \u0026 MapViewOfFile on Windows with inf::memory_map.\n\n* Unit tests with `\u003cinf/tests.hpp\u003e`.\n\n## TODOs\n\n* write doc with doxygen\n\n* write validating tests (WIP)\n\n* add features\n\n## Credits / Sources\n\n* GNU's libstdc++: [stdio_filebuf](https://gcc.gnu.org/onlinedocs/gcc-13.1.0/libstdc++/api/a12263.html)\n* GNU's libstdc++: [stdio_sync_filebuf](https://gcc.gnu.org/onlinedocs/gcc-13.1.0/libstdc++/api/a12267.html)\n* LLVM's libc++: [std_stream](https://github.com/llvm/llvm-project/blob/main/libcxx/src/std_stream.h)\n* Nicolai M. Josuttis: [fdstream](http://www.josuttis.com/cppcode/fdstream.html)\n* GNU's libstdc++ source_location: [source_location](https://github.com/gcc-mirror/gcc/blob/1f973c295b699011acd7d5fcb04bd2bf887da16d/libstdc%2B%2B-v3/include/experimental/source_location)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvokungahrotlaas%2Finf-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvokungahrotlaas%2Finf-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvokungahrotlaas%2Finf-process/lists"}