C question
Date | 1997-08-11 16:50 |
From | Dave Phillips |
Subject | C question |
I figure someone in this group can help me with this question. I want to port an application from Turbo C to compile under the GCC in Linux, but I'm stuck by the include file called conio.h. Is there a direct replacement in the GCC for that header ? TIA... == Dave Phillips http://www.bright.net/~dlphilp/index.html |
Date | 1997-08-11 18:10 |
From | Steven robert Campbell |
Subject | Re: C question |
I believe the equivalent in UNIX is direct IO functions in UNIX are located in "curses.h". You'll have to do some slight modifications to the functions, but you should be able to easily make compatibale conio functions from the curses library. Steve. On Mon, 11 Aug 1997, Dave Phillips wrote: > I figure someone in this group can help me with this question. I want to > port an application from Turbo C to compile under the GCC in Linux, but > I'm stuck by the include file called conio.h. Is there a direct > replacement in the GCC for that header ? > > TIA... > > == Dave Phillips > > http://www.bright.net/~dlphilp/index.html > > |
Date | 1997-08-11 20:04 |
From | Micheal Allen Thompson |
Subject | Re: C question |
Isnt conio.h for console output? under dos? what happens if you comment out the header? Michael On Mon, 11 Aug 1997, Dave Phillips wrote: > I figure someone in this group can help me with this question. I want to > port an application from Turbo C to compile under the GCC in Linux, but > I'm stuck by the include file called conio.h. Is there a direct > replacement in the GCC for that header ? > > TIA... > > == Dave Phillips > > http://www.bright.net/~dlphilp/index.html > |
Date | 1997-08-12 15:29 |
From | Laszlo Vecsey |
Subject | Re: C question |
On Mon, 11 Aug 1997, Dave Phillips wrote: > I figure someone in this group can help me with this question. I want to > port an application from Turbo C to compile under the GCC in Linux, but > I'm stuck by the include file called conio.h. Is there a direct > replacement in the GCC for that header ? > I know you already found a workaround for conio.h in your application, but I just thought I'd mention to the list since it was brought up that there is a unix conio.h package available at sunsite.unc.edu (I forget the location, but its in the linux software map) the Home Site is: http://www.obh.snafu.de/~marte/friends/fractor/ - lv |