optionVersion(3)

πŸ’– optionVersion(3) πŸ’–

hey bestie, welcome to the Programmer's Manual page for optionVersion(3) β€” it's giving tiny-but-iconic library function energy ✨


🌸 NAME 🌸

optionVersion β€” return the compiled AutoOpts version number, periodt πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the exact shape, no cap:

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

char const * optionVersion(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns the full version string compiled into the library. The returned string cannot be modified.

bestie, do not try to modify the returned string β€” it cannot be modified. read it and let it live its const little life πŸ™ˆ

🌈 RETURN VALUE 🌈

the version string in constant memory 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

The info documentation for the -lopts library.


and that's the whole vibe πŸ’œ from the Programmer's Manual, optionVersion(3), dated 2018-08-26 β€” slay and goodbye πŸŽ€