Mail Archives: djgpp/1996/08/20/11:46:11
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
- Raw text -