Re: [PATCH] tsearch.3: clarify items vs nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 21, 2018 at 4:45 PM, Jann Horn <jannh@xxxxxxxxxx> wrote:
> The manpage claimed that tsearch() returns a pointer to a data item. This
> is incorrect; tsearch() returns a pointer to the corresponding tree node,
> which can also be interpreted as a pointer to a pointer to the data item.
>
> Since this API is quite unintuitive, also add a clarifying sentence.

Actually, this patch is incomplete, I'll send a v2...
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux