mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:07:35 +00:00
LibC: Implement tfind and tsearch
This commit is contained in:
parent
d045181375
commit
7448626bae
6 changed files with 265 additions and 0 deletions
14
Userland/Libraries/LibC/search.h
Normal file
14
Userland/Libraries/LibC/search.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (c) 2021, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
void* tsearch(const void*, void**, int (*)(const void*, const void*));
|
||||
void* tfind(const void*, void* const*, int (*)(const void*, const void*));
|
||||
|
||||
__END_DECLS
|
Loading…
Add table
Add a link
Reference in a new issue