Description Usage Arguments Details Examples
Get the smallest key greater than or equal to a given key
1 | ceiling_of(tree, key, ...)
|
tree |
A |
key |
The key to use in comparisons |
... |
Other arguments (not used) |
If the key exists in the tree, then it is returned. If the key is
larger than the largest key in the tree, then NULL
is returned.
Otherwise, the smallest key that is greater than the given key is returned.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.