tsearch(3) return-type?

Steve Emmerson steve at unidata.ucar.edu
Thu Jan 10 03:03:21 AEST 1991


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 at unidata.ucar.edu        ...!ncar!unidata!steve



More information about the Comp.sys.sun mailing list