A set of miscellaneous utilities for the C programming language.
Go to file
thetek d93ea22904 chore: license 2023-03-04 13:02:37 +01:00
lib feat: (common) rand_range 2023-02-15 10:29:30 +01:00
test fix: (str) return str_t instead of caller allocted 2023-02-15 10:18:29 +01:00
.gitignore init 2023-02-11 14:17:02 +01:00
LICENSE chore: license 2023-03-04 13:02:37 +01:00
README.md chore: readme 2023-03-04 13:02:03 +01:00
makefile fix: (makefile) correct mkdir dependency 2023-02-16 12:29:42 +01:00

README.md

CUtils

CUtils is a set of miscellaneous utilities for the C programming language.

Modules

The utilities are split up into multiple modules. The documentation for all functions can be found in the header files (with a short description) as well as in the source files (with a detailed description and explanation of parameters and return values).

  • common: Common utilities that are very common but did not fit in any other module, e.g. safe memory allocation or a few math functions
  • cstr: Functions that expand C's <string.h> library for char * strings
  • debug: Debug utilities, e.g. debug messages for memory allocations
  • log: Logging functionality with different log levels and support for printing source file and line information
  • str: A custom string type that stores length and capacity and associated functions for interacting with it
  • test: Simple unit testing library

Note that some modules may depend on each other.