mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibCore: Merge the CSyscallUtils namespace into Core
This commit is contained in:
parent
d17e23bd27
commit
258d798b34
4 changed files with 5 additions and 5 deletions
|
@ -382,7 +382,7 @@ void EventLoop::wait_for_event(WaitMode mode)
|
|||
should_wait_forever = false;
|
||||
}
|
||||
|
||||
int marked_fd_count = CSyscallUtils::safe_syscall(select, max_fd + 1, &rfds, &wfds, nullptr, should_wait_forever ? nullptr : &timeout);
|
||||
int marked_fd_count = Core::safe_syscall(select, max_fd + 1, &rfds, &wfds, nullptr, should_wait_forever ? nullptr : &timeout);
|
||||
if (FD_ISSET(s_wake_pipe_fds[0], &rfds)) {
|
||||
char buffer[32];
|
||||
auto nread = read(s_wake_pipe_fds[0], buffer, sizeof(buffer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue