[doc] update clone urls to afify.dev/azan
[azan.git] / syscalls.s
blob0502a0ad660cbb738b0a3e355c45446a1e8a5204
1 ; See LICENSE file for copyright and license details.
3 %ifndef SYSCALLS_S
4 %define SYSCALLS_S
6 %ifdef Linux
7 %define SYS_exit 60
8 %define SYS_write 1
9 %define SYS_gettimeofday 96
10 %elifdef OpenBSD
11 %define SYS_exit 1
12 %define SYS_write 4
13 %define SYS_gettimeofday 67
14 %define SYS_pledge 108
15 %elifdef FreeBSD
16 %define SYS_exit 1
17 %define SYS_write 4
18 %define SYS_gettimeofday 116
19 %elifdef NetBSD
20 %define SYS_exit 1
21 %define SYS_write 4
22 %define SYS_gettimeofday 116
23 %else
24 %fatal "OS not supported"
25 %endif
27 %endif ;SYSCALLS_S