syscall.sh / alpha / ioctl

ioctl

control device

sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
number54 (0x36)
abicommon
entry pointsys_ioctl
sinceLinux 5.0
man pageioctl(2)
sourceelixir.bootlin.com

Registers

registervalue
v054, the syscall number
a0unsigned int fd
a1unsigned int cmd
a2unsigned long arg
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/ioctl