cstring(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… cstring(3) β€” the <cstring> glow-up ✨

okay so real talk, bestie: this is the cstring(3) page from the Library Functions Manual, and the NAME section is genuinely, unironically empty. Not me being lazy β€” that's literally what's in the source. Iconic levels of mysterious, honestly. 🫢


✨ NAME ✨

cstring β€” (and that's it. that's the whole description. the void. the silence. she said nothing and left. πŸ’€)


πŸŽ€ SYNOPSIS πŸŽ€

🌸 Namespaces

  • namespace std

πŸ¦‹ Defines

  • #define _GLIBCXX_CSTRING

⭐ Functions

void * std::memchr (void *__p, int __c, size_t __n)
char * std::strchr (char *__s1, int __n)
char * std::strpbrk (char *__s1, const char *__s2)
char * std::strrchr (char *__s1, int __n)
char * std::strstr (char *__s1, const char *__s2)

πŸ’– Detailed Description πŸ’–

so here's the tea β˜• β€” this is a Standard C++ Library file, okay?

include THIS file in your programs, not any of the *.h implementation files. like. please. the *.h files are not the moment, they are not the main character, do not @ them. πŸ™ˆ

it's the C++ version of the Standard C Library header string.h, and its contents are (mostly) the same as that header, but they're all contained in the namespace std β€” with the exception of names which are defined as macros in C. lowkey a whole vibe shift, highkey the same functions. 🧚

Definition in file cstring. ← fr fr, that's where she lives.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so nobody hand-wrote this, she was born from the machine, a true nepo baby of documentation generators. 🌈✨


and that's the whole page, bestie β€” no cap, no extra lore, just the facts in a cute little bow πŸŽ€

libstdc++ Β· 21 Apr 2009 Β· mwah, go write some string code, ily πŸ’œπŸ¦‹

πŸ“¦ where this page comes from