#include <cat/gen.h>
int catgen_init(void);
This function should be called before any other cat_ function calls or one will have to do the initialization by hand (as described above). However, there is an exception to this rule. The argument parsing functions (catgen_parseargs() or cat_getopt(), can (and should) be called before a call to this function.
The function returns 0 if successful, or a negative code on error.
cat_init, catgen_initinfo, catgen_initdebug