Implement Linux POSIX compliance for poll, sched, sys/select. Fix enum in fcntl.

This commit is contained in:
Isaac Andrade
2024-09-14 20:23:42 -06:00
parent aa91479870
commit 8616842ec6
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -27,9 +27,9 @@ foreign lib {
nfds_t :: c.uint
Poll_Error :: enum c.int {
EAGAIN = Errno.EAGAIN,
EINTR = Errno.EINTR,
EINVAL = Errno.EINVAL,
EAGAIN = cast(c.int)Errno.EAGAIN,
EINTR = cast(c.int)Errno.EINTR,
EINVAL = cast(c.int)Errno.EINVAL,
}
Poll_Event_Bits :: enum c.short {