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

Returns

This function returns a non-zero value if parentdn is the parent of childdn, or 0 if the parentdn is not the parent of childdn.