Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: steve@unidata.ucar.edu (Steve Emmerson) Newsgroups: comp.sys.sun Subject: tsearch(3) return-type? Keywords: Miscellaneous Message-ID: <1157@brchh104.bnr.ca> Date: 9 Jan 91 16:03:21 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 11 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 10, Issue 14, message 5 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu 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