Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Returns

This function returns the index of the value in the Slapi_ValueSet, or -1 if there was no more value or the input index is incorrect.