str_chr(3)
π str_chr(3) π
hey bestie, this is the str_chr(3) page from the Library Functions Manual β yes, that manual β and weβre gonna make it make sense, no cap β¨
πΈ NAME πΈ
str_chr β find character in ASCIIZ string
β¨ SYNTAX β¨
#include <libowfat/str.h>
size_t str_chr(const char* haystack,char needle);
π DESCRIPTION π
okay so str_chr returns the index of the first occurrance of needle or \0 in string. thatβs the whole vibe: itβs giving βwhereβs the first match?β energy, and itβs literally handing you back an index π
π¦ SEE ALSO π¦
thatβs the whole page, bestie β str_chr(3) from the Library Functions Manual, and the footer has no source/version/date line to quote, just the final str_chr(3) tag. mwah ππ
β¨
π¦ 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