syscall.sh / x32 / getpid

getpid

get process identification

sys_getpid(void)
number1073741863 (0x40000027)
abicommon
entry pointsys_getpid
sinceLinux 3.4
man pagegetpid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741863, the syscall number
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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