Headers and library sources from all versions of Lightspeed C and THINK C
at main 65 lines 1.3 kB view raw
1 2/* 3 * console.h 4 * 5 * Copyright (c) 1992 Symantec Corporation. All rights reserved. 6 * 7 */ 8 9#pragma once 10 11#include "stdio.h" 12 13#ifdef __cplusplus 14extern "C" { 15#endif 16 17#define console_options __console_options 18#define fopenc __fopenc 19#define freopenc __freopenc 20#define cgotoxy __cgotoxy 21#define cgetxy __cgetxy 22#define ccleos __ccleos 23#define ccleol __ccleol 24#define csettabs __csettabs 25#define csetmode __csetmode 26#define cinverse __cinverse 27#define cshow __cshow 28#define chide __chide 29#define cecho2file __cecho2file 30#define cecho2printer __cecho2printer 31#define ccommand __ccommand 32 33extern struct __copt { 34 short top; 35 short left; 36 unsigned char *title; 37 short procID; 38 short txFont; 39 short txSize; 40 short txFace; 41 short nrows; 42 short ncols; 43 short pause_atexit; 44} console_options; 45 46enum { C_RAW, C_CBREAK, C_NOECHO, C_ECHO }; 47 48FILE *fopenc(void); 49FILE *freopenc(FILE *, FILE *); 50void cgotoxy(int, int, FILE *); 51void cgetxy(int *, int *, FILE *); 52void ccleos(FILE *); 53void ccleol(FILE *); 54void csettabs(int, FILE *); 55void csetmode(int, FILE *); 56void cinverse(int, FILE *); 57void cshow(FILE *); 58void chide(FILE *); 59void cecho2file(char *, int, FILE *); 60void cecho2printer(FILE *); 61int ccommand(char ***); 62 63#ifdef __cplusplus 64} 65#endif