Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 222 Bytes
Little library to resolve syscall numbers and names
In [1]: import syscalls
In [2]: syscalls.linux('fork')
Out[2]: 2
In [3]: syscalls.linux(2)
Out[3]: 'fork'
Currently supports freebsd, linux, netbsd, openbsd and osx.