System V tsearch snafu

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Jan 23 18:11:38 AEST 1989


In article <9481 at smoke.BRL.MIL>, gwyn at 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.



More information about the Comp.bugs.sys5 mailing list