diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-10 21:54:04 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-10 21:54:04 -0300 |
commit | c4c5be557abb30166dbc49770a0151671ab1bf07 (patch) | |
tree | a642972e425533e91e3d46eb6fb71d2bc276f076 /jet.cpp | |
parent | 5c8326ae953eee1cd36711a7769cff624f312864 (diff) | |
download | jet-c4c5be557abb30166dbc49770a0151671ab1bf07.tar.gz jet-c4c5be557abb30166dbc49770a0151671ab1bf07.zip |
Implement file writing using the write syscall
Diffstat (limited to 'jet.cpp')
-rw-r--r-- | jet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ int main() { epoll_event events[MAX_EVENTS]; Client *clients[1024] = {}; - for (;;) { + while (true) { int nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1); for (int i = 0; i < nfds; i++) { |