mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
resolve conflict
This commit is contained in:
@@ -224,7 +224,7 @@ rt_sigprocmask :: proc "contextless" (mask_kind: Sig_Mask_Kind, new_set: ^Sig_Se
|
|||||||
code value instead of a memory address depending on the request type.
|
code value instead of a memory address depending on the request type.
|
||||||
Available since Linux 1.0.
|
Available since Linux 1.0.
|
||||||
*/
|
*/
|
||||||
ioctl :: proc "contextless" (fd: Fd, request: u64, arg: u64) -> (uintptr) {
|
ioctl :: proc "contextless" (fd: Fd, request: i32, arg: uintptr) -> (uintptr) {
|
||||||
ret := syscall(SYS_ioctl, fd, request, arg)
|
ret := syscall(SYS_ioctl, fd, request, arg)
|
||||||
return uintptr(ret)
|
return uintptr(ret)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user