diff options
Diffstat (limited to 'v4.0/src/TOOLS/BLD/INC/SEARCH.H')
| -rw-r--r-- | v4.0/src/TOOLS/BLD/INC/SEARCH.H | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/BLD/INC/SEARCH.H b/v4.0/src/TOOLS/BLD/INC/SEARCH.H new file mode 100644 index 0000000..88ea976 --- /dev/null +++ b/v4.0/src/TOOLS/BLD/INC/SEARCH.H | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /*** | ||
| 2 | *search.h - declarations for searcing/sorting routines | ||
| 3 | * | ||
| 4 | * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved. | ||
| 5 | * | ||
| 6 | *Purpose: | ||
| 7 | * This file contains the declarations for the sorting and | ||
| 8 | * searching routines. | ||
| 9 | * [System V] | ||
| 10 | * | ||
| 11 | *******************************************************************************/ | ||
| 12 | |||
| 13 | |||
| 14 | #ifndef _SIZE_T_DEFINED | ||
| 15 | typedef unsigned int size_t; | ||
| 16 | #define _SIZE_T_DEFINED | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #ifndef NO_EXT_KEYS /* extensions enabled */ | ||
| 20 | #define _CDECL cdecl | ||
| 21 | #else /* extensions not enabled */ | ||
| 22 | #define _CDECL | ||
| 23 | #endif /* NO_EXT_KEYS */ | ||
| 24 | |||
| 25 | |||
| 26 | /* function prototypes */ | ||
| 27 | |||
| 28 | char * _CDECL lsearch(char *, char *, unsigned int *, unsigned int, int (_CDECL *)(void *, void *)); | ||
| 29 | char * _CDECL lfind(char *, char *, unsigned int *, unsigned int, int (_CDECL *)(void *, void *)); | ||
| 30 | void * _CDECL bsearch(const void *, const void *, size_t, size_t, int (_CDECL *)(const void *, const void *)); | ||
| 31 | void _CDECL qsort(void *, size_t, size_t, int (_CDECL *)(const void *, const void *)); | ||