Also I’ve used
const c_ioctl = @cImport({
@cInclude("sys/ioctl.h");
});
cause in std.c
, ioctl
uses only 32 bits for request, instead of 64. I dk if I’m doing wrong here. Didn’t found other solution
Also I’ve used
const c_ioctl = @cImport({
@cInclude("sys/ioctl.h");
});
cause in std.c
, ioctl
uses only 32 bits for request, instead of 64. I dk if I’m doing wrong here. Didn’t found other solution