Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

Guardian Native C Library Calls (t - z) tsearch(3)
RETURN VALUES
If a node is found, the tsearch() function inserts the entry and returns a pointer to the newly
inserted entry.
The tsearch() function returns a null pointer when there is not enough space available to create a
new node. The tsearch() function also returns a null pointer if rootp is a null pointer on entry.
RELATED INFORMATION
Functions: bsearch(3), hsearch(3), lsearch(3), tnd(3), tdelete(3), twalk(3), qsort(3).
527192-007 Hewlett-Packard Company 735