Annotation of mstools/h/search.h, revision 1.1.1.1

1.1       root        1: /***
                      2: *search.h - declarations for searcing/sorting routines
                      3: *
                      4: *      Copyright (c) 1985-1991, 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: #ifndef _INC_SEARCH
                     14: 
                     15: #ifdef __cplusplus
                     16: extern "C" {
                     17: #endif
                     18: 
                     19: 
                     20: #if (_MSC_VER <= 600)
                     21: #define __cdecl _cdecl
                     22: #endif
                     23: 
                     24: #ifndef _SIZE_T_DEFINED
                     25: typedef unsigned int size_t;
                     26: #define _SIZE_T_DEFINED
                     27: #endif
                     28: 
                     29: 
                     30: /* function prototypes */
                     31: 
                     32: void * bsearch(const void *, const void *, size_t, size_t,
                     33:        int (*)(const void *, const void *));
                     34: void * _lfind(const void *, const void *, unsigned int *, unsigned int,
                     35:        int (*)(const void *, const void *));
                     36: void * _lsearch(const void *, void  *, unsigned int *, unsigned int,
                     37:        int (*)(const void *, const void *));
                     38: void qsort(void *, size_t, size_t, int (*)(const void *,
                     39:        const void *));
                     40: 
                     41: #if !__STDC__
                     42: /* Non-ANSI names for compatibility */
                     43: #define lfind  _lfind
                     44: #define lsearch _lsearch
                     45: #endif
                     46: 
                     47: #ifdef __cplusplus
                     48: }
                     49: #endif
                     50: 
                     51: #define _INC_SEARCH
                     52: #endif /* _INC_SEARCH */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.