Annotation of mstools/h/memory.h, revision 1.1.1.4

1.1       root        1: /***
                      2: *memory.h - declarations for buffer (memory) manipulation routines
                      3: *
1.1.1.4 ! root        4: *      Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
1.1       root        5: *
                      6: *Purpose:
                      7: *      This include file contains the function declarations for the
                      8: *      buffer (memory) manipulation routines.
                      9: *      [System V]
                     10: *
                     11: ****/
                     12: 
                     13: #ifndef _INC_MEMORY
                     14: 
                     15: #ifdef __cplusplus
                     16: extern "C" {
                     17: #endif
                     18: 
                     19: 
1.1.1.3   root       20: /*
                     21:  * Conditional macro definition for function calling type and variable type
                     22:  * qualifiers.
                     23:  */
                     24: #if   ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
                     25: 
                     26: /*
                     27:  * Definitions for MS C8-32 (386/486) compiler
                     28:  */
                     29: #define _CRTAPI1 __cdecl
                     30: #define _CRTAPI2 __cdecl
                     31: 
                     32: #else
                     33: 
                     34: /*
                     35:  * Other compilers (e.g., MIPS)
                     36:  */
                     37: #define _CRTAPI1
                     38: #define _CRTAPI2
                     39: 
1.1.1.2   root       40: #endif
1.1       root       41: 
1.1.1.3   root       42: 
1.1       root       43: #ifndef _SIZE_T_DEFINED
                     44: typedef unsigned int size_t;
                     45: #define _SIZE_T_DEFINED
                     46: #endif
                     47: 
                     48: 
                     49: /* function prototypes */
                     50: 
1.1.1.3   root       51: void * _CRTAPI1 _memccpy(void *, const void *, int, unsigned int);
                     52: void * _CRTAPI1 memchr(const void *, int, size_t);
                     53: int _CRTAPI1 memcmp(const void *, const void *, size_t);
                     54: void * _CRTAPI1 memcpy(void *, const void *, size_t);
                     55: int _CRTAPI1 _memicmp(const void *, const void *, unsigned int);
                     56: void * _CRTAPI1 memset(void *, int, size_t);
1.1       root       57: 
                     58: #if !__STDC__
                     59: /* Non-ANSI names for compatibility */
                     60: #define memccpy  _memccpy
                     61: #define memicmp  _memicmp
                     62: #endif /* __STDC__ */
                     63: 
                     64: #ifdef __cplusplus
                     65: }
                     66: #endif
                     67: 
                     68: #define _INC_MEMORY
                     69: #endif /* _INC_MEMORY */

unix.superglobalmegacorp.com

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