1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

LibC: Make sysbeep return int instead of void

Since the beep syscall may fail it is strange that the error is
discarded by the LibC wrapper.
This commit is contained in:
Junior Rantila 2021-12-17 18:24:09 +01:00 committed by Brian Gianforcaro
parent 18013f3c06
commit 1f7c196788
2 changed files with 4 additions and 3 deletions

View file

@ -34,7 +34,7 @@ int get_process_name(char* buffer, int buffer_size);
int set_process_name(const char* name, size_t name_length);
void dump_backtrace();
int fsync(int fd);
void sysbeep();
int sysbeep();
int gettid();
int getpagesize();
pid_t fork();