aboutsummaryrefslogtreecommitdiff
path: root/src/search (follow)
Commit message (Expand)AuthorAgeFilesLines
* make tdestroy allow null function pointer if no destructor is needed•••this change is to align with a change in the glibc interface. Rich Felker2013-08-021-1/+1
* fix aliasing violations in tsearch functions•••patch by nsz. the actual object the caller has storing the tree root has type void *, so accessing it as struct node * is not valid. instead, simply access the value, move it to a temporary of the appropriate type and work from there, then move the result back. Rich Felker2013-08-021-2/+10
* search: add comments to tsearch_avl.cnsz2012-05-131-0/+6
* search: add tdestroy (gnu extension)nsz2012-05-131-0/+21
* XSI search.h API implementation by Szabolcs NagyRich Felker2011-06-254-0/+352