NAME

catinfo_name - convert a name to catinfo format

SYNOPSIS

#include <cat/cat.h>

int catinfo_set(char *catinfo_name(char *name);

DESCRIPTION

catinfo_name() destructively converts a name to a format that is used in the catinfo tree. The argument name is a single relative name. It must not be a path, that is, a sequence of relative names separated by dots ('.').

The conversion will convert all letters to lower case and all ``.'' characters to ``_'' characters. The size of the string is thus not affected.

The function returns NULL if name is NULL or the pointer name otherwise.

SEE ALSO

cat, catinfo