alarm on ia32
set an alarm clock for delivery of a signal
sys_alarm(unsigned int seconds)
| number | 27 (0x1b) |
|---|---|
| abi | i386 |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_alarm |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | alarm(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 27, the syscall number |
ebx | unsigned int seconds |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 37
- x86 27
- x32 1073741861
- ppc64 27
- ppc 27
- s390x 27
- mips64 5037
- mipsn32 6037
- mipso32 4027
- m68k 27
- microblaze 27
- parisc 27
- sh 27
- sparc 27
- sparc64 27
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/alarm