data_structures
Functions
rbt_min.c File Reference
#include "rbt.h"
+ Include dependency graph for rbt_min.c:

Go to the source code of this file.

Functions

void * rbt_min (const t_rbt *rbt)
 Returns the smallest key in the tree. More...
 

Function Documentation

◆ rbt_min()

void* rbt_min ( const t_rbt rbt)

Returns the smallest key in the tree.

Returns
The value associated with the smallest key in the tree, or NULL, if the tree is empty.

Definition at line 16 of file rbt_min.c.