2020-01-18 05:38:21 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 05:38:21 -03:00
|
|
|
*/
|
|
|
|
|
|
2018-11-09 21:56:10 -02:00
|
|
|
#include <stdio.h>
|
2020-02-18 06:58:04 -03:00
|
|
|
#include <unistd.h>
|
2018-10-27 12:39:08 -03:00
|
|
|
|
|
|
|
|
int main(int, char**)
|
|
|
|
|
{
|
2020-02-18 06:58:04 -03:00
|
|
|
if (pledge("stdio", nullptr) < 0) {
|
|
|
|
|
perror("pledge");
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
2018-10-27 12:39:08 -03:00
|
|
|
printf("\033[3J\033[H\033[2J");
|
2018-11-09 21:56:10 -02:00
|
|
|
fflush(stdout);
|
2018-10-27 12:39:08 -03:00
|
|
|
return 0;
|
|
|
|
|
}
|