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

Returns

This function returns 0 if successful. Otherwise, it returns -1.