int main() {

   write( 1, "\033[1;1H\033[2J", 10 );
   return 0;

}
That is the UNIX clear program. Clear?

Why do those OSS people bother to distribute that source code? :)