Introduction
What is csnip?
Csnip is a library of C code snippets (macros and functions) that are frequently useful for general purpose C programming. It augments the standard C library among other things with
-
Generic container data structures such as dynamic arrays, lists, hash tables, etc.
-
Generic sorting and searching algorithms.
-
Frequently used tools such as command line option parsing.
And much more. For a complete list, see the modules page in the reference documentation.
Csnip is MIT licensed, and can therefore be used both in free and proprietary software.
Csnip is currently made for POSIX operating systems; parts of it compile fine e.g. with mingw for Windows. Due to a lack of resources, we can’t fully support Windows yet. We hope this will change soon.