mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
LibCore: Merge the CSyscallUtils namespace into Core
This commit is contained in:
parent
d17e23bd27
commit
258d798b34
Notes:
sideshowbarker
2024-07-19 09:34:04 +09:00
Author: https://github.com/awesomekling
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