Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clear.c « console-tools - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 21a890c9e3762889b8533bb67a53d2fe9979785f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "internal.h"
#include <stdio.h>

const char	clear_usage[] = "clear\n"
"\n"
"\tClears the screen.\n";

extern int
clear_main(struct FileInfo * i, int argc, char * * argv)
{
	printf("\033[H\033[J");
	return 0;
}