aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib/sys/linux.ey
diff options
context:
space:
mode:
Diffstat (limited to 'elymas/lib/sys/linux.ey')
-rw-r--r--elymas/lib/sys/linux.ey7
1 files changed, 4 insertions, 3 deletions
diff --git a/elymas/lib/sys/linux.ey b/elymas/lib/sys/linux.ey
index 0c00fc9..f672c8d 100644
--- a/elymas/lib/sys/linux.ey
+++ b/elymas/lib/sys/linux.ey
@@ -359,8 +359,9 @@
# 0 -> callback data
# 1 -> event mask
- # 2 -> fd to add
- # 3 -> epoll fd
+ # 2 -> fd to modify
+ # 3 -> what to do (i.e. EPOLLCTLADD and friends)
+ # 4 -> epoll fd
# 0 <- raw return value
{ ==callbackData ==eventMask ==fd ==action ==epollFd
# struct epoll_event takes 16 bytes on a x86
@@ -384,7 +385,7 @@
[ buf ret { <
->u64 ==events
->u64 ==data
- > } rep -- ]
+ > -01 } rep -- ]
ret
} /wait deffd
> /epoll defvd