syscall.sh / x86 / ppoll

ppoll

wait for some event on a file descriptor

sys_ppoll_time32(struct pollfd *ufds, unsigned int nfds, struct old_timespec32 *tsp, const sigset_t *sigmask, size_t sigsetsize)
number309 (0x135)
abii386
entry pointsys_ppoll_time32
sinceLinux 3.3
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
eax309, the syscall number
ebxstruct pollfd *ufds
ecxunsigned int nfds
edxstruct old_timespec32 *tsp
esiconst sigset_t *sigmask
edisize_t sigsetsize
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/ppoll