ReactOS 0.4.15-dev-7674-gc0b4db1
search_s.h
Go to the documentation of this file.
1
7#ifndef _INC_SEARCH_S
8#define _INC_SEARCH_S
9
10#include <search.h>
11
12#if defined(MINGW_HAS_SECURE_API)
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
20 void *
22 _lfind_s(
23 _In_ const void *_Key,
24 _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) const void *_Base,
25 _Inout_ unsigned int *_NumOfElements,
26 _In_ size_t _SizeOfElements,
27 _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *),
28 void *_Context);
29
32 void *
34 _lsearch_s(
35 _In_ const void *_Key,
36 _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void *_Base,
37 _Inout_ unsigned int *_NumOfElements,
38 _In_ size_t _SizeOfElements,
39 _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *),
40 void *_Context);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
47
48#endif /* _INC_SEARCH_S */
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:72
_Check_return_ _Ret_maybenull_ _In_ size_t _SizeOfElements
Definition: malloc.h:76
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Check_return_
Definition: ms_sal.h:557
#define _Inout_updates_bytes_(size)
Definition: ms_sal.h:399
#define _In_
Definition: ms_sal.h:308