ReactOS  0.4.14-dev-554-g2f8d847
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
15 extern "C" {
16 #endif
17 
19  _CRTIMP
20  void *
21  __cdecl
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 
31  _CRTIMP
32  void *
33  __cdecl
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 _Inout_updates_bytes_(size)
Definition: no_sal2.h:287
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:60
_Check_return_ _Ret_maybenull_ _In_ size_t _SizeOfElements
Definition: malloc.h:80
#define _Check_return_
Definition: no_sal2.h:13
#define _Inout_
Definition: no_sal2.h:244
#define _In_reads_bytes_(size)
Definition: no_sal2.h:229
#define _In_
Definition: no_sal2.h:204