syscall.sh / mips64 / getpid
getpid
get process identification
sys_getpid(void)
| number | 5038 (0x13ae) |
|---|---|
| abi | n64 |
| entry point | sys_getpid |
| since | Linux 5.0 |
| man page | getpid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5038, the syscall number |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 39
- x86 20
- arm64 172
- arm 20
- riscv64 172
- x32 1073741863
- loongarch64 172
- ppc64 20
- ppc 20
- s390x 20
- mipsn32 6038
- mipso32 4020
- arc 172
- csky 172
- hexagon 172
- m68k 20
- microblaze 20
- nios2 172
- openrisc 172
- parisc 20
- sh 20
- sparc 20
- sparc64 20
- xtensa 120
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/getpid