1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

beep: Port to LibMain :^)

This commit is contained in:
Junior Rantila 2022-01-09 06:16:27 +01:00 committed by Ali Mohammad Pur
parent 7801e38af1
commit abaee3a325
2 changed files with 6 additions and 4 deletions

View file

@ -1,13 +1,14 @@
/*
* Copyright (c) 2020, the SerenityOS developers.
* Copyright (c) 2020-2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <unistd.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
int main()
ErrorOr<int> serenity_main(Main::Arguments)
{
sysbeep();
TRY(Core::System::beep());
return 0;
}