[−][src]Function libscmp::resolve_syscall_name
pub fn resolve_syscall_name<N: AsRef<OsStr>>(name: N) -> Option<c_int>
Look up the number of the syscall with the given name on the native architecture.
This is exactly equivalent to resolve_syscall_name_arch(Arch::NATIVE, name)
(or
resolve_syscall_name_arch(Arch::native(), name)
).