An open API service indexing awesome lists of open source software.

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

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.