syscall.sh / mipsn32 / creat
creat
open and possibly create a file
sys_creat(const char *pathname, umode_t mode)
| number | 6083 (0x17c3) |
|---|---|
| abi | n32 |
| entry point | sys_creat |
| since | Linux 5.0 |
| man page | creat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6083, the syscall number |
a0 | const char *pathname |
a1 | umode_t mode |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 85
- x86 8
- arm 8
- x32 1073741909
- ppc64 8
- ppc 8
- s390x 8
- mips64 5083
- mipso32 4008
- m68k 8
- microblaze 8
- parisc 8
- sh 8
- sparc 8
- sparc64 8
- xtensa 21
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/creat