strtransform(3)

πŸ’– NAME πŸ’–

okay so this is the strtransform(3) page, bestie, and its whole main-character job is to convert a string into its mapped-to value. that's it. that's the vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]

void strtransform(char * dest, char const * src);

🌸 DESCRIPTION 🌸

so here's the tea: every single character in the input string gets mapped, and the mapped-to character gets dropped into the output. iconic behavior, no cap. πŸ’…

also, the function name is mapped to option_strtransform so it does not conflict with the POSIX name space. very considerate, very demure. πŸŽ€

and yes β€” the source and destination may be the same. slay.

  • dest β€” output string
  • src β€” input string

πŸ’€ ERRORS πŸ’€

none.

literally none. not a single error. the error section is on vacation and living its best life. 🫢


🌈 SEE ALSO 🌈

the info documentation for the -lopts library is right there if you wanna go deeper, iykyk. πŸ“š


signed off with the strtransform(3) manual tag and the 2018-08-26 date β€” mwah πŸ’‹βœ¨