home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c063 / 1.ddi / INCLUDE.ZIP / SEARCH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-18  |  1.1 KB  |  40 lines

  1. /*  search.h
  2.  
  3.     Definitions for search functions.
  4.  
  5.     Copyright (c) 1991 by Borland International
  6.     All Rights Reserved.
  7. */
  8.  
  9. #ifndef __SEARCH_H
  10. #define __SEARCH_H
  11.  
  12. #if !defined( __DEFS_H )
  13. #include <_defs.h>
  14. #endif
  15.  
  16. #ifndef _SIZE_T
  17. #define _SIZE_T
  18. typedef unsigned size_t;
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. void   *_CType bsearch(const void *__key, const void *__base, 
  25.                 size_t __nelem, size_t __width,
  26.                 int _Cdecl(* __fcmp)(const void *, const void *));
  27. void   *_Cdecl lfind(const void *__key, const void *__base, 
  28.                  size_t *__num, size_t __width,
  29.                  int _Cdecl(* __fcmp)(const void *, const void *));
  30. void   *_Cdecl lsearch(const void *__key, void *__base, 
  31.                  size_t *__num, size_t __width, 
  32.                  int _Cdecl(* __fcmp)(const void *, const void *));
  33. void    _CType qsort(void *__base, size_t __nelem, size_t __width,
  34.                 int _CType (* __fcmp)(const void *, const void *));
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38.  
  39. #endif  /* __SEARCH_H */
  40.