search_s.h 984 B

123456789101112131415161718192021222324252627
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _INC_SEARCH_S
  7. #define _INC_SEARCH_S
  8. #include <search.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. _CRTIMP void *__cdecl _lfind_s(const void *_Key,const void *_Base,unsigned int *_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
  13. _CRTIMP void *__cdecl _lsearch_s(const void *_Key,void *_Base,unsigned int *_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
  14. #ifndef _QSORT_S_DEFINED
  15. #define _QSORT_S_DEFINED
  16. _CRTIMP void __cdecl qsort_s(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif