diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-15 21:40:41 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-15 21:40:41 +0200 |
commit | 3cba2a8a7872794516488ac5dfe240e946b1288d (patch) | |
tree | abf359c90dbee15228f34669c7d5613d111e77f0 /Kernel/Syscall.h | |
parent | dcf490ecab4fea2eb2cb80508ae68d77c328739d (diff) | |
download | serenity-3cba2a8a7872794516488ac5dfe240e946b1288d.zip |
Kernel: Add a beep() syscall that beeps the PC speaker.
Hook this up in Terminal so that the '\a' character generates a beep.
Finally emit an '\a' character in the shell line editing code when
backspacing at the start of the line.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 1844826888..d2c884bade 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -103,6 +103,7 @@ __ENUMERATE_SYSCALL(exit_thread) \ __ENUMERATE_SYSCALL(mknod) \ __ENUMERATE_SYSCALL(writev) \ + __ENUMERATE_SYSCALL(beep) \ namespace Syscall { |