source:
mainline/uspace/lib/c/include/bsearch.h@
9bfa8c8
| Last change on this file since 9bfa8c8 was d7f7a4a, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 401 bytes | |
| Rev | Line | |
|---|---|---|
| [75c430e3] | 1 | /* |
| [d7f7a4a] | 2 | * SPDX-FileCopyrightText: 2018 Jiri Svoboda |
| [75c430e3] | 3 | * |
| [d7f7a4a] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
| [75c430e3] | 5 | */ |
| 6 | ||
| 7 | /** @addtogroup libc | |
| 8 | * @{ | |
| 9 | */ | |
| 10 | /** @file | |
| 11 | */ | |
| 12 | ||
| [4805495] | 13 | #ifndef _LIBC_BSEARCH_H_ |
| 14 | #define _LIBC_BSEARCH_H_ | |
| [75c430e3] | 15 | |
| 16 | #include <stddef.h> | |
| [bc56f30] | 17 | #include <_bits/decls.h> |
| 18 | ||
| 19 | __C_DECLS_BEGIN; | |
| [75c430e3] | 20 | |
| 21 | extern void *bsearch(const void *, const void *, size_t, size_t, | |
| 22 | int (*)(const void *, const void *)); | |
| 23 | ||
| [bc56f30] | 24 | __C_DECLS_END; |
| 25 | ||
| [75c430e3] | 26 | #endif |
| 27 | ||
| 28 | /** @} | |
| 29 | */ |
Note:
See TracBrowser
for help on using the repository browser.
