syscall.sh / m68k / fcntl64

fcntl64

manipulate file descriptor

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

Registers

registervalue
d0239, the syscall number
d1unsigned int fd
d2unsigned int cmd
d3unsigned long arg
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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