FUNCTION::RLIMIT\_FRO(3stap) RLIMIT Tapset FUNCTION::RLIMIT\_FRO(3stap)

# [NAME](#NAME)

function::rlimit\_from\_str - Symbolic string associated with resource limit code

# [SYNOPSIS](#SYNOPSIS)

```


    rlimit_from_str:long(lim_str:string)
```

# [ARGUMENTS](#ARGUMENTS)

*lim\_str*

The string representation of limit

# [DESCRIPTION](#DESCRIPTION)

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.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::rlimit*(3stap)](/man/enterprise-packages/systemtap/tapset::rlimit.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::rlimit_from_str(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
