syscall.sh / x32 / futex_wait

futex_wait

sys_futex_wait(void *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec *timespec, clockid_t clockid)
number1073742279 (0x400001c7)
abicommon
entry pointsys_futex_wait
sinceLinux 6.7
sourceelixir.bootlin.com

Registers

registervalue
rax1073742279, the syscall number
rdivoid *uaddr
rsiunsigned long val
rdxunsigned long mask
r10unsigned int flags
r8struct __kernel_timespec *timespec
r9clockid_t clockid
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/futex_wait