std :: sys
#include <std/sys.h> source
#include <std/sys.h>
generic<T> ?unsigned long sys_bsearch( const &T key, []const T items, fn int(const &T, const &T) cmp, )
Binary search of sorted items; the index of an element equal to key, or null.