Function libseccomp::get_syscall_name_from_arch[][src]

pub fn get_syscall_name_from_arch(
    arch: ScmpArch,
    syscall_num: i32
) -> Result<String>
Expand description

get_syscall_name_from_arch retrieves the name of a syscall from its number for a given architecture.

Acts on any syscall number. Accepts a valid architecture constant. Returns either a string containing the name of the syscall, or an error. if the syscall is unrecognized or an issue occurred.