syscall.sh / x32 / gettid

gettid

get thread identification

sys_gettid(void)
number1073742010 (0x400000ba)
abicommon
entry pointsys_gettid
sinceLinux 3.4
man pagegettid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742010, 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/gettid