https://github.com/mitranim/clib
Small personal C library; collection of reusable utils
https://github.com/mitranim/clib
libc
Last synced: 29 days ago
JSON representation
Small personal C library; collection of reusable utils
- Host: GitHub
- URL: https://github.com/mitranim/clib
- Owner: mitranim
- License: unlicense
- Created: 2026-04-21T15:58:40.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-01T18:33:21.000Z (about 1 month ago)
- Last Synced: 2026-06-01T20:24:54.584Z (about 1 month ago)
- Topics: libc
- Language: C
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Small personal C library. Written while working on my [Astil Forth](https://github.com/mitranim/astil_forth).
Extracted for possible reuse, and to keep track of drafts which have no use in that project.
Assumes Clang. Only tested on MacOS. Some files include headers which don't exist on other platforms.
Running tests also requires GNU coreutils. On MacOS with Homebrew, install via `brew install coreutils`; the test harness uses `gtimeout`.
Assumes a "unity build". The `.c` files are meant to be used with `#include` or `#import` rather than compiled separately. Some macros in `.h` require procedure implementations from their `.c` file.
Changes between repos are synced via `make get` and `make set` commands.