Function libscmp::resolve_syscall_name[][src]

pub fn resolve_syscall_name<N: AsRef<OsStr>>(name: N) -> Option<c_int>
Expand description

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)).