syscall.sh / openrisc / fcntl64

fcntl64

manipulate file descriptor

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

Registers

registervalue
r1125, the syscall number
r3unsigned int fd
r4unsigned int cmd
r5unsigned long arg
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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