[comp.sys.sun] tsearch

steve@unidata.ucar.edu (Steve Emmerson) (01/10/91)

What is the return-type of the tsearch(3) function?  Should it be cast to
pointer-to-pointer-to-node or simply to pointer-to-node?

Although ambiguous, I've tentatively interpreted my manual-pages as
indicating, in their text, that the appropriate cast is to type
pointer-to-node.  The example in the SunOS manual-page, however,
definitely indicates that the appropriate cast is to type
pointer-to-pointer-to-node.

Please help.
Steve Emmerson        steve@unidata.ucar.edu        ...!ncar!unidata!steve