code snippets

All code snippets are fully ANSI/ISO C90 compliant, extremely portable, mostly efficient, stable/safe, consistent and readable. In all cases, you may simply remove the main() function and use the remaining source file together with its header file as a module.