From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Antony Sakellariou Cc: gcc-help@gcc.gnu.org Subject: Re: How I can execute the clear screen command in C/GCC source code??] Date: Mon, 11 Dec 2000 07:36:00 -0000 Message-id: References: <3A32048D.8D1132FD@otenet.gr> X-SW-Source: 2000-12/msg00051.html On Dec 9, 2000, Antony Sakellariou wrote: > As gcc don't support void clrsrc() Sure it does. As long as you link with some library that supplies the definition of this function :-) GCC doesn't contain a C library, it's just a compiler. It's up to the OS to offer a C library; if the functionality is missing in the OS's C library, because it's supposed to be a Standard-compliant C library (and clrstr() isn't part of the C Standard library), then you have to find some utility library that implements this function, or some similar functionality under a different name. Try termcap, curses or ncurses. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me