str_len(3)
π str_len(3) π
okay so this little icon is str_len(3), and it comes to you straight from the Library Functions Manual. she's lowkey simple, highkey useful, and we're gonna get into it π
β¨ NAME β¨
str_len β find length of ASCIIZ string π
πΈ SYNTAX πΈ
#include <libowfat/str.h>
size_t str_len(const char* string);
yep, that's the whole signature bestie β size_t str_len(const char* string); β¨
π¦ DESCRIPTION π¦
str_len returns the index of the first \0 in string. that's it. that's the whole function. no cap π«Ά
so if you're looking for where the ASCIIZ string says "we're done here", str_len hands you the index of that first \0. iconic behavior, honestly π
π SEE ALSO π
signing off with str_len(3) from the Library Functions Manual β footer energy only, no extra drama πππ
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms