DOKK / manpages / debian 10 / systemtap-doc / function::rlimit_from_str.3stap.en
FUNCTION::RLIMIT_FRO(3stap) RLIMIT Tapset FUNCTION::RLIMIT_FRO(3stap)

function::rlimit_from_str - Symbolic string associated with resource limit code


rlimit_from_str:long(lim_str:string)

lim_str

The string representation of limit

This function returns the number associated with the given string, such as 0 for the string RLIMIT_CPU, or -1 for an out-of-range value.

tapset::rlimit(3stap)

October 2018 SystemTap Tapset Reference