delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/07/11:41:17

Date: Mon, 7 Feb 2000 18:30:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Chan <s987517 AT mailserv DOT cuhk DOT edu DOT hk>
cc: djgpp AT delorie DOT com
Subject: Re: conio.h
In-Reply-To: <389EDF92.BFD15ECE@mailserv.cuhk.edu.hk>
Message-ID: <Pine.SUN.3.91.1000207182849.20861C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 7 Feb 2000, Martin Chan wrote:

> If I include <conio.h>in GCC for PC, can GCC for Unix compiles it
> successfully?

No, conio.h is PC-specific.  Linux has a replacement header, but other 
Unix flavors do not (AFAIK).

If you want portability to Unix, use curses.  There's PDCurses which 
provides this feature for DJGPP, and on Unix curses are a standard 
feature.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019