summaryrefslogtreecommitdiffstats
path: root/private/os2/client/thunk/include/conio.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--private/os2/client/thunk/include/conio.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/private/os2/client/thunk/include/conio.h b/private/os2/client/thunk/include/conio.h
new file mode 100644
index 000000000..7cab66f0d
--- /dev/null
+++ b/private/os2/client/thunk/include/conio.h
@@ -0,0 +1,36 @@
+/***
+*conio.h - console and port I/O declarations
+*
+* Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* This include file contains the function declarations for
+* the MS C V2.03 compatible console and port I/O routines.
+*
+****/
+
+#if defined(_DLL) && !defined(_MT)
+#error Cannot define _DLL without _MT
+#endif
+
+#ifdef _MT
+#define _FAR_ _far
+#else
+#define _FAR_
+#endif
+
+/* function prototypes */
+
+char _FAR_ * _FAR_ _cdecl cgets(char _FAR_ *);
+int _FAR_ _cdecl cprintf(const char _FAR_ *, ...);
+int _FAR_ _cdecl cputs(const char _FAR_ *);
+int _FAR_ _cdecl cscanf(const char _FAR_ *, ...);
+int _FAR_ _cdecl getch(void);
+int _FAR_ _cdecl getche(void);
+int _FAR_ _cdecl inp(unsigned);
+unsigned _FAR_ _cdecl inpw(unsigned);
+int _FAR_ _cdecl kbhit(void);
+int _FAR_ _cdecl outp(unsigned, int);
+unsigned _FAR_ _cdecl outpw(unsigned, unsigned);
+int _FAR_ _cdecl putch(int);
+int _FAR_ _cdecl ungetch(int);