Re: [PATCH] tsearch.3: Document twalk_r function added in glibc 2.30

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

 



* Michael Kerrisk:

> Why is the 'level' argument deemed unnecessary for twalk_r()?
> Is it worth adding some text to say why that argument is dropped?

It's possible to implement it by tracking the recursion depth using the
closure object, if this information is indeed required.  The glibc
manual and test suite contain example code which shows how to do this.

Thanks,
Florian



[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