diff options
author | spew <devnull@localhost> | 2017-04-24 10:50:03 -0500 |
---|---|---|
committer | spew <devnull@localhost> | 2017-04-24 10:50:03 -0500 |
commit | 1f6a604c23b0a5cad68c8692e990a76c250e17df (patch) | |
tree | 7197efb5218e94e04e75936d218c8da52a021b29 /sys/man | |
parent | 403584715f06a7bd72f8c350fa4100468f2e8bb4 (diff) |
libavl: fix documentation
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/2/avl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/man/2/avl b/sys/man/2/avl index be3aa03b0..9df362037 100644 --- a/sys/man/2/avl +++ b/sys/man/2/avl @@ -57,10 +57,13 @@ from the tree and may be freed. .I Avllookup searches for a given key and returns the closest node less than the given key, -.BR nil , +equal to, or the closest node greater than the key depending on whether .I dir -is less than, equal to, or greater than zero, respectively. +is less than, equal to, or greater than zero, respectively. If +.I dir +is zero and there is no matching key, it returns +.BR nil . .I Avldelete removes the node matching the key from the tree and returns it. It returns nil if no matching key is found. |