Serenity Operating System
at master 17 lines 361 B view raw
1/* 2 * Copyright (c) 2021, the SerenityOS developers. 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#include <AK/DeprecatedString.h> 8#include <AK/Format.h> 9#include <LibCore/System.h> 10#include <LibMain/Main.h> 11 12ErrorOr<int> serenity_main(Main::Arguments) 13{ 14 TRY(Core::System::pledge("rpath stdio")); 15 outln(TRY(Core::System::getcwd())); 16 return 0; 17}