mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:37:43 +00:00
Kernel+Userland: Add option for duration of /dev/beep producing sound
This commit is contained in:
parent
1b00618fd9
commit
26f96d2a42
6 changed files with 13 additions and 5 deletions
|
@ -51,7 +51,7 @@
|
|||
namespace Core::System {
|
||||
|
||||
#ifdef AK_OS_SERENITY
|
||||
ErrorOr<void> beep(u16 tone = 440);
|
||||
ErrorOr<void> beep(u16 tone = 440, u16 milliseconds_duration = 200);
|
||||
ErrorOr<void> pledge(StringView promises, StringView execpromises = {});
|
||||
ErrorOr<void> unveil(StringView path, StringView permissions);
|
||||
ErrorOr<void> unveil_after_exec(StringView path, StringView permissions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue