Sun Directory Server Enterprise Edition 7.0 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.