|
|
1.1 root 1: #ifndef __SYS__NULL_H__
2: #define __SYS__NULL_H__
3:
4: /*
5: * This internal header is designed to factor out the definition of NULL
6: * from all other aspects of the STREAMS and device systems. In order to
7: * be able to create a reasonable facsimile of the STREAMS and DDI/DDK
8: * programming environments, many of the header files defined by those
9: * documents in the System V environment have been defined. From the POSIX
10: * and ISO C standards documents we learn that <sys/types.h> is the most
11: * likely candidate, but that definitions also occur in <stdlib.h>, <stdio.h>
12: * and many other places.
13: */
14:
15:
16: /*
17: * For Borland C++, the use of memory models requires that we define NULL
18: * appropriately. There is a special Borland header for this, however.
19: */
20:
21: #ifndef NULL
22:
23: # ifdef __BORLANDC__
24:
25: # include <_null.h>
26:
27: # else
28:
29: # define NULL 0
30:
31: # endif
32:
33: #endif
34:
35: #endif /* ! defined (__SYS__NULL_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.