mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 11:22:22 -07:00
[sys/linux]: Fix missing return; Remove TODO for select()
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user