mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
Kernel+Userland: Add option for duration of /dev/beep producing sound
This commit is contained in:
parent
1b00618fd9
commit
26f96d2a42
Notes:
sideshowbarker
2024-07-16 22:58:46 +09:00
Author: https://github.com/supercomputer7
Commit: 26f96d2a42
Pull-request: https://github.com/SerenityOS/serenity/pull/20761
Reviewed-by: https://github.com/timschumi ✅
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