syscall.sh / nios2 / fcntl64

fcntl64

manipulate file descriptor

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

Registers

registervalue
r225, the syscall number
r4unsigned int fd
r5unsigned int cmd
r6unsigned long arg
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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