GETARGERROR(3)

πŸ“¦ version 2022.10.16, in opensuse-leap 16.0

okay bestie, welcome to getargerror(3), a tiny icon from SchilyΒ΄s LIBRARY FUNCTIONS. She is literally here to turn an arg-parsing error code into a string. Cute, right? πŸ’…

πŸŽ€ NAME πŸŽ€

getargerror() β€” convert arg parsing error code to a string. That’s the whole vibe. ✨

✨ SYNOPSIS ✨

#include <schily/getargs.h>

char *getargerror(val)
     int val;        /* error code */

πŸ’– DESCRIPTION πŸ’–

getargerror() returns a string that matches the return code of the argument parsing routines. no cap, that’s her job. 🫢

🌸 RETURNS 🌸

A string that matches the return code, or the string Illegal arg error in case that a nonexisting return code has been passed. yes, literally that string β€” she said what she said. 😭

The codes FLAGPARSED and NOTAFLAG share the same value, but FLAGPARSED is not returned to external callers. important detail, bestie. πŸ’œ

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’€ BUGS πŸ’€

None currently known. slay. πŸ‘‘

Mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues.

The mailing list archive may be found at:

https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists-in-berlin.de.

πŸ‘‘ AUTHOR πŸ‘‘

Joerg Schilling and the schilytools project authors. iconic. πŸ’–


kisses πŸ’‹ β€” this page is by Joerg Schilling, dated 2022/09/09, and it lives as GETARGERROR(3) in the manual. 🌈

πŸ“¦ where this page comes from