42 Exam Rank 03 [exclusive] -

if (cmpf(item, (*root)->item) < 0) ft_btree_insert_data(&(*root)->left, item, cmpf); else ft_btree_insert_data(&(*root)->right, item, cmpf);

Take a binary tree:

This is the boss battle. get_next_line reads a file descriptor line by line—including the newline character—without leaking memory. In Rank 03, you must support (the bonus) without using global variables in a dangerous way. 42 Exam Rank 03