cat_filelength - get the size of a file.
#include <cat/catutil.h>
long cat_filelength(const char *path);
Returns the length in bytes of the file pointed to by path
or a negative code on error.
If path refers to anything other than an ordinary file, the function returns CAT_EFTYPE
.
cat, catutil, cat_getfile, cat_filetime,
cat_truncatefile, cat_lockfile, cat_lockfile,
cat_unlockfile