This function initializes a catinfo tree and must be called prior to any
other catinfo_* call. The flags argument is currently unused and should be set to zero.
If the catinfo_init() has already been called in this process,
CAT_EBUSY is returned.
catinfo_init() returns 0 if successful or a negative error code.