Annotation of os2sdk/include/stddef.h, revision 1.1.1.1

1.1       root        1: /***
                      2: *stddef.h - definitions/declarations for common constants, types, variables
                      3: *
                      4: *   Copyright (c) 1985-1987, Microsoft Corporation.  All rights reserved.
                      5: *
                      6: *Purpose:
                      7: *   This file contains definitions and declarations for some commonly
                      8: *   used constants, types, and variables.
                      9: *   [ANSI]
                     10: *
                     11: *******************************************************************************/
                     12: 
                     13: 
                     14: #ifndef NO_EXT_KEYS /* extensions enabled */
                     15:     #define _CDECL  cdecl
                     16:     #define _NEAR   near
                     17: #else /* extensions not enabled */
                     18:     #define _CDECL
                     19:     #define _NEAR
                     20: #endif /* NO_EXT_KEYS */
                     21: 
                     22: 
                     23: /* define NULL pointer value */
                     24: 
                     25: #if (defined(M_I86SM) || defined(M_I86MM))
                     26: #define  NULL    0
                     27: #elif (defined(M_I86CM) || defined(M_I86LM) || defined(M_I86HM))
                     28: #define  NULL    0L
                     29: #endif
                     30: 
                     31: 
                     32: /* declare reference to errno */
                     33: 
                     34: extern int _NEAR _CDECL errno;
                     35: 
                     36: 
                     37: /* define the implementation dependent size types */
                     38: 
                     39: #ifndef _PTRDIFF_T_DEFINED
                     40: typedef int ptrdiff_t;
                     41: #define _PTRDIFF_T_DEFINED
                     42: #endif
                     43: 
                     44: #ifndef _SIZE_T_DEFINED
                     45: typedef unsigned int size_t;
                     46: #define _SIZE_T_DEFINED
                     47: #endif

unix.superglobalmegacorp.com

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