🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6414

tsearch(3) return-type?

#6414
From: Steve Emmerson
Date: Wed, 09 Jan 1991 16:03
11 lines
1029 bytes
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
Technical Details
Message-ID: <1157@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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