1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-runtime package. 4 * No warranty is given; refer to the file DISCLAIMER within this package. 5 */ 6 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 18 _Check_return_ 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 30 _Check_return_ 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 */ 49