syscall.sh / mipsn32 / fcntl

fcntl

manipulate file descriptor

compat_sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
number6070 (0x17b6)
abin32
entry pointcompat_sys_fcntl
sinceLinux 5.0
man pagefcntl(2)
sourceelixir.bootlin.com

Registers

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

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/fcntl