Message-ID: <3219D9DC.46BB@pobox.oleane.com> Date: Tue, 20 Aug 1996 17:29:32 +0200 From: Francois Charton Organization: CCMSA MIME-Version: 1.0 To: david DOT faure AT bbsrc DOT ac DOT uk CC: djgpp AT delorie DOT com Subject: Re: What is gppconio_init() supposed to do ? References: <4vbqa9$scl AT is DOT bbsrc DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit david DOT faure AT bbsrc DOT ac DOT uk wrote: > > As the title says, I don't see what gppconio_init() is supposed to do ... > The conio functions work if I don't call it as well as if I do . > As the libc.inf explains, gppconio_init() is automatically called at startup by your program if you use conio functions, so it is of absolutely no use in standard programs. However, if your program calls another program which modifies the screen registers (or, for instance, calls a DOS shell where a console modification is done), when you go back to the main program, you may need gppconio_init() to restore the conio functions. Regards, Francois