Serenity Operating System
at master 17 lines 349 B view raw
1/* 2 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#include <LibCore/System.h> 8#include <LibMain/Main.h> 9#include <stdio.h> 10 11ErrorOr<int> serenity_main(Main::Arguments) 12{ 13 TRY(Core::System::pledge("stdio")); 14 printf("\033[3J\033[H\033[2J"); 15 fflush(stdout); 16 return 0; 17}