NAME

catinfo_init - initialize the catinfo environment

SYNOPSIS

#include <cat/cat.h>

int catinfo_init(int flags);

DESCRIPTION

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.

SEE ALSO

cat, catinfo