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

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: 
1.1.1.2 ! root       20: #ifndef MIPS
1.1       root       21: #if (_MSC_VER <= 600)
                     22: #define __cdecl _cdecl
                     23: #endif
1.1.1.2 ! root       24: #endif
1.1       root       25: 
                     26: #ifndef _SIZE_T_DEFINED
                     27: typedef unsigned int size_t;
                     28: #define _SIZE_T_DEFINED
                     29: #endif
                     30: 
                     31: 
                     32: /* function prototypes */
                     33: 
                     34: void * bsearch(const void *, const void *, size_t, size_t,
                     35:        int (*)(const void *, const void *));
                     36: void * _lfind(const void *, const void *, unsigned int *, unsigned int,
                     37:        int (*)(const void *, const void *));
                     38: void * _lsearch(const void *, void  *, unsigned int *, unsigned int,
                     39:        int (*)(const void *, const void *));
                     40: void qsort(void *, size_t, size_t, int (*)(const void *,
                     41:        const void *));
                     42: 
                     43: #if !__STDC__
                     44: /* Non-ANSI names for compatibility */
                     45: #define lfind  _lfind
                     46: #define lsearch _lsearch
                     47: #endif
                     48: 
                     49: #ifdef __cplusplus
                     50: }
                     51: #endif
                     52: 
                     53: #define _INC_SEARCH
                     54: #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.