strchar.h(3)
π strchar.h β the strchar.h(3) era π
okay bestie, gather round, because this is the strchar.h page from the Library Functions Manual and it's literally all about character string stuff. common and portable. yes. we love a portable queen. π
β¨ NAME β¨
strchar.h β Common and portable character string related functions. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the goods. include these, exactly these:
#include <cc++/config.h>
#include <cc++/missing.h>
#include <cctype>
#include <string>
#include <cstring>
π¦ Namespaces π¦
ostβ that's the one, that's where everybody lives π«Ά
π§ Functions π§
okay so here's the whole squad, no cap, every single one of them:
__EXPORT char * ost::lsetField (char *target, size_t size, const char *src, const char fill=0)__EXPORT char * ost::rsetField (char *target, size_t size, const char *src, const char fill=0)__EXPORT char * ost::setString (char *target, size_t size, const char *src)__EXPORT char * ost::addString (char *target, size_t size, const char *src)__EXPORT char * ost::newString (const char *src, size_t size=0)__EXPORT void ost::delString (char *str)__EXPORT char * ost::setUpper (char *string, size_t size)__EXPORT char * ost::setLower (char *string, size_t size)__EXPORT char * ost::find (const char *cs, char *str, size_t len=0)__EXPORT char * ost::rfind (const char *cs, char *str, size_t len=0)__EXPORT char * ost::ifind (const char *cs, char *str, size_t len=0)__EXPORT char * ost::strip (const char *cs, char *str, size_t len=0)__EXPORT size_t ost::strchop (const char *cs, char *str, size_t len=0)__EXPORT size_t ost::strtrim (const char *cs, char *str, size_t len=0)char * ost::dupString (const char *src, size_t size=0)
like. look at that lineup. fourteen functions and a namespace and every single one of them is keeping it real. the lsetField / rsetField duo? twins. the find / rfind / ifind trio? a little friend group. and dupString at the very bottom with no __EXPORT on it, living its own life, main character energy honestly π
notice the defaults are all sitting right there in the signatures β const char fill=0, size_t size=0, size_t len=0 β don't @ me, that's just what they say. β¨
π Detailed Description π
Common and portable character string related functions.
that's the whole thing bestie. it's giving "the description is the name again." iconic behaviour fr fr. π
π Author π
Generated automatically by Doxygen for GNU CommonC++ from the source code.
so nobody hand-wrote this, the machine did it, and honestly? it ate. π β¨
okay that's the page!! π¦ this was GNU CommonC++, dated Sun Dec 27 2020, and that's the footer, so we're done here. go forth and manipulate some strings responsibly bestie, ily, bye ππΈππ«Ά
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms