syscall.sh / mipso32 / getpid

getpid

get process identification

sys_getpid(void)
number4020 (0xfb4)
abio32
entry pointsys_getpid
sinceLinux 5.0
man pagegetpid(2)
sourceelixir.bootlin.com

Registers

registervalue
v04020, the syscall number
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/getpid