This fix adds the use of error codes throughout libbe. All functions should now return the errors codes defined in libbe.h.
I've also added the use of an environment variable (BE_PRINT_ERR) that enables printing the error output in the library without having to compile in changes to enable this printing. Defect: ------ http://defect.opensolaris.org/bz/show_bug.cgi?id=1817 Webrev: ------ http://cr.opensolaris.org/~evanl/1817/ Thanks, -evan
