mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00: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,
|
time_nsec = 0,
|
||||||
}
|
}
|
||||||
ret := syscall(SYS_semtimedop_time64, key, raw_data(ops), len(ops), &max_timespec)
|
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)
|
return errno_unwrap(ret, bool)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(flysand): pselect6
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Wait for events on a file descriptor.
|
Wait for events on a file descriptor.
|
||||||
Available since Linux 2.6.16.
|
Available since Linux 2.6.16.
|
||||||
|
|||||||
Reference in New Issue
Block a user