syscall.sh / xtensa / creat

creat

open and possibly create a file

sys_creat(const char *pathname, umode_t mode)
number21 (0x15)
abicommon
entry pointsys_creat
sinceLinux 5.0
man pagecreat(2)
sourceelixir.bootlin.com

Registers

registervalue
a221, the syscall number
a6const char *pathname
a3umode_t mode
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/creat