May 8, 2015
5:58 a.m.
What arch? Try x86 , but looking for portable solution.
http://lxr.free-electrons.com/source/arch/x86/syscalls/syscall_64.tbl
For my arch this is helpful. Thank you