Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

Returns

This function returns a long integer that corresponds to the value stored in the Slapi_Value structure, or 0 if there is no value.