1// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 2// 3// Copyright (c) 2001-2003, OpenBeOS 4// 5// This software is part of the OpenBeOS distribution and is covered 6// by the OpenBeOS license. 7// 8// 9// File: clear.c 10// Author: Jan-Rixt Van Hoye (janvanhoye@pandora.be) 11// Description: clears the terminal screen 12// 13// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 14 15 16#include <stdlib.h> 17 18int 19main() 20{ 21 system("tput clear"); 22 return 0; 23} 24