NetBSD-Bugs archive

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

lib/46814: Information missing from rbtree(3) manual page

>Number:         46814
>Category:       lib
>Synopsis:       Information missing from rbtree(3) manual page.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 19 00:15:00 +0000 2012
>Originator:     Lloyd Parkes
>Release:        NetBSD 6.0_BETA2
Must Have Coffee
System: NetBSD 6.0_BETA2 NetBSD 6.0_BETA2 
(XEN3PAE_DOMU) #0: Mon Jun 18 04:48:20 NZST 2012 
lloyd@bob:/vol/scratch/build6/obj.i386/sys/arch/i386/compile/XEN3PAE_DOMU i386
Architecture: i386
Machine: i386

None of the function types listed in the rbtree manual page have parameter 
names, which makes the function types difficult (and in some cases impossible) 
to read. In particular, rbto_compare_nodes_fn and rbto_compare_key_fn take 
three void pointers as parameters. Two of the void pointers for 
rbto_compare_key_fn are indistinguishable, but they are required to point to 
different types of objects. 


Type "man rbtree". Then type "man memcmp" for a more informative manual page.


Just add some parameter names.

Home | Main Index | Thread Index | Old Index