FUNCTION::RLIMIT_FRO(3stap)

✨ NAME ✨

ok so bestie, this page lives in the RLIMIT Tapset manual (section 3stap) πŸ’– and it's all about one lil function: function::rlimit_from_str β€” she gives you the symbolic string that goes with a resource limit code πŸŽ€


🌸 SYNOPSIS 🌸

rlimit_from_str:long(lim_str:string)

that's it, that's the whole vibe check πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • lim_str β€” the string representation of limit you're handing over, bestie. fr fr, that's the one and only thing she takes πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ“ β€” this function takes the string you gave her and hands you back the number that's associated with it.

like, she'll give you 0 for the string RLIMIT_CPU ✨ (iconic, honestly). and if the value is out-of-range? she gives you -1. periodt πŸ’€ no cap, that's just how she moves.

so: in-range string β†’ the number it maps to. out-of-range β†’ -1. that's the whole deal 🫢

🌈 SEE ALSO 🌈


SystemTap Tapset Reference, Version ... September 2026 πŸ’… that's the source + date bestie, mwah 😘 go forth and slay your tapsets πŸ‘‘πŸ§šβ­

πŸ“¦ where this page comes from