FUNCTION::STRLEN(3stap)
π FUNCTION::STRLEN π
okay bestie, welcome to the SystemTap Tapset Reference β "A collection of standard strin..." β¨ yes the title got cut off mid-word, we love a mysterious queen, no notes. this page is from 3stap, section 3, and she's all about ONE thing: counting how long your string is. periodt.
β¨ NAME β¨
function::strlen β returns the length of a string π
literally that's it. that's the job. she counts.
πΈ SYNOPSIS πΈ
strlen:long(s:string)
so she takes a string, she gives you back a long. transactional. iconic. π
π¦ ARGUMENTS π¦
sβ the string. that's the one. the string in question. the girlies. the text. hand her the string and she'll tell you how long it is π
π DESCRIPTION π
okay so here's the tea: this function returns the length of the string. π«Ά
and the range? it can be zero β yes, zero, a string can absolutely be empty and that's valid and we respect her β all the way up to MAXSTRINGLEN. that's the ceiling. that's the limit. that's the vibe check she will not exceed. π
so: 0 to MAXSTRINGLEN, inclusive, that's the whole range, no cap. π₯
β SEE ALSO β
tapset::string(3stap)β the whole string tapset, go explore, she's part of a friend group π
k bye bestie, go count some strings, you're gonna slay π β¨
this little love letter came to you from the SystemTap Tapset Reference, version Ver, dated September 2026 π mwah π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms