summaryrefslogtreecommitdiffstats
path: root/include/linux/bsearch.h
blob: 8ed53d7524ea6910f83d54c465949eb3205b43bb (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_BSEARCH_H
#define _LINUX_BSEARCH_H

#include <linux/types.h>

void *bsearch(const void *key, const void *base, size_t num, size_t size,
	      cmp_func_t cmp);

#endif /* _LINUX_BSEARCH_H */
OpenPOWER on IntegriCloud