[sys/linux]: Fix missing return; Remove TODO for select()

This commit is contained in:
flysand7
2023-11-10 05:24:24 +11:00
parent aed67ba665
commit ff1ab74b3c
+1 -2
View File
@@ -838,6 +838,7 @@ semop :: proc "contextless" (key: Key, ops: []Sem_Buf) -> (Errno) {
time_nsec = 0,
}
ret := syscall(SYS_semtimedop_time64, key, raw_data(ops), len(ops), &max_timespec)
return Errno(-ret)
}
}
@@ -2559,8 +2560,6 @@ faccessat :: proc "contextless" (dirfd: Fd, name: cstring, mode: Mode = F_OK) ->
return errno_unwrap(ret, bool)
}
// TODO(flysand): pselect6
/*
Wait for events on a file descriptor.
Available since Linux 2.6.16.