Last change
on this file since bbb6a97 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
812 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | define.h -- Typical miscellaneous C definitions.
|
---|
| 4 | Version 1 -- 1985-01-01 -- Atari
|
---|
| 5 | Copyright 1985 Atari Corp.
|
---|
| 6 | =============================================================================
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #define NIL 0 /* Nil Pointer */
|
---|
| 10 |
|
---|
| 11 | #define NO 0 /* "FALSE" */
|
---|
| 12 | #define YES 1 /* "TRUE" */
|
---|
| 13 |
|
---|
| 14 | #define TRUE 1
|
---|
| 15 | #define FALSE 0
|
---|
| 16 |
|
---|
| 17 | #define EOS '\0' /* End of String marker */
|
---|
| 18 | #define EOF (-1) /* End of File marker */
|
---|
| 19 | #define NEWLINE '\n' /* Carriage Return */
|
---|
| 20 |
|
---|
| 21 | #define FAILURE (-1) /* Function failure return val */
|
---|
| 22 | #define SUCCESS (0) /* Function success return val */
|
---|
| 23 | #define FOREVER for(;;) /* Infinite loop declaration */
|
---|
| 24 |
|
---|
| 25 | #ifndef NULL /* Make sure NULL gets defined */
|
---|
| 26 | #define NULL '\0'
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.