Article View: comp.bugs.sys5
Article #962Re: System V tsearch snafu
From: Doug Gwyn
Date: Mon, 23 Jan 1989 08:11
Date: Mon, 23 Jan 1989 08:11
14 lines
1042 bytes
1042 bytes
In article <9481@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: > The description in the SVR3.0 PRM for the "rootp" etc. pointer types, > and the library source code, for tsearch(3C) and related functions is > all bollixed up. This is also specified wrong in the SVID. I'm told that this is fixed in SVID Issue 3. Meanwhile, I've noticed that the return type from these functions is a NODE *, where NODE is a completely undocumented internal type. It really ought to have been the "key" member of the NODE, as indicated by the documentation. I think I've figured out why we didn't try to include these in the ANSI C Standard.
Technical Details
Message-ID:
<9482@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!cmcl2!adm!smoke!gwynReferences:
<9481@smoke.BRL.MIL>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.bugs.sys5 Subject: Re: System V tsearch snafu Keywords: System V UNIX C library tsearch tree search bug Message-ID: <9482@smoke.BRL.MIL> Date: 23 Jan 89 08:11:38 GMT References: <9481@smoke.BRL.MIL> Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14