updated dependencies

This commit is contained in:
ston1th 2023-04-01 19:50:50 +02:00
commit c9aa60ca28
155 changed files with 3240 additions and 1516 deletions

View file

@ -20,3 +20,11 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
}
return
}
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(uintptr(arg)))
if r0 == -1 && er != nil {
err = er
}
return
}