syscall.sh / arc / fcntl64

fcntl64

manipulate file descriptor

sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg)
number25 (0x19)
abi32
entry pointsys_fcntl64
sinceLinux 3.9
man pagefcntl64(2)
sourceelixir.bootlin.com

Registers

registervalue
r825, the syscall number
r0unsigned int fd
r1unsigned int cmd
r2unsigned long arg
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/fcntl64