aboutsummaryrefslogtreecommitdiff
path: root/libc/src/search/hsearch_r.h
blob: d36094c2eba585db08b3a9640d8c5406bfbb433c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- Implementation header for hsearch_r ---------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_SRC_SEARCH_HSEARCH_R_H
#define LLVM_LIBC_SRC_SEARCH_HSEARCH_R_H

#include <search.h> // ENTRY, ACTION

namespace LIBC_NAMESPACE {
int hsearch_r(ENTRY item, ACTION action, ENTRY **retval,
              struct hsearch_data *htab);
} // namespace LIBC_NAMESPACE

#endif // LLVM_LIBC_SRC_SEARCH_HSEARCH_R_H