syscall.sh / xtensa / fcntl64

fcntl64

manipulate file descriptor

sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg)
number61 (0x3d)
abicommon
entry pointsys_fcntl64
sinceLinux 5.0
man pagefcntl64(2)
sourceelixir.bootlin.com

Registers

registervalue
a261, the syscall number
a6unsigned int fd
a3unsigned int cmd
a4unsigned long arg
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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