system-calls
- https://pypi.org/project/system-calls/
- https://github.com/hrw/syscalls-table
Usage
pip3 install system-calls
>>> import system_calls
>>> syscalls = system_calls.syscalls()
>>> syscall_arch = "arm"
>>> syscalls.get("write", syscall_arch)
4
>>> syscalls = system_calls.syscalls_arm
>>> syscalls.get("write")
4