|
Last change
on this file was
2,
checked in by oldcode, 25 years ago
|
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
636 bytes
|
| Line | |
|---|
| 1 | /* interface.h: access to interface.c, a 2 window text/graphics |
|---|
| 2 | environment, with a scrolling text window and c-like I/O functions. |
|---|
| 3 | This also sets up some defines for the standard c stuff. */ |
|---|
| 4 | |
|---|
| 5 | #define printf macprintf |
|---|
| 6 | #define gets macgets |
|---|
| 7 | #define scanf macscanf |
|---|
| 8 | #define puts macputs |
|---|
| 9 | #undef putchar |
|---|
| 10 | #define putchar macputchar |
|---|
| 11 | #undef getchar |
|---|
| 12 | #define getchar() '\n' |
|---|
| 13 | #define fflush(file) macflush() |
|---|
| 14 | #define exit(x) eventloop() |
|---|
| 15 | void macprintf(char *,...); |
|---|
| 16 | int macscanf(char *,...); |
|---|
| 17 | void macsetup(char *,char *); |
|---|
| 18 | void macgets(char *); |
|---|
| 19 | void macputs(char *); |
|---|
| 20 | void eventloop(); |
|---|
| 21 | void queryevent(); |
|---|
| 22 | void fixmacfile(char *); |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.