libwget-error(3)

πŸ’– libwget-error β€” Error functions πŸ’–

okay bestie, welcome to libwget-error(3), section 3 of the manual, coming at you from the Library Functions Manual πŸŽ€ this is the page where libwget spills the tea on its error codes, and honestly? it's short, it's sweet, it's giving minimalism ✨


🌸 NAME 🌸

libwget-error β€” Error functions 🫢


✨ SYNOPSIS ✨

πŸ¦‹ Functions πŸ¦‹

const char * wget_strerror (wget_error err)

like. that's it. one (1) function. and she ate πŸ’…


πŸ’œ Detailed Description πŸ’œ

Here are th implementations of libwget error functions.

yes bestie, "th" β€” that's how it's written in the source, and I am not about to fix it. we respect the original in this house 🫑 no cap.

πŸ‘‘ Function Documentation πŸ‘‘

⭐ const char * wget_strerror (wget_error err)

πŸ“ Parameters

  • rc β€” Error code from another libwget function

🌈 Returns

A humanly readable string describing error


Convert an internal libwget error code to a humanly readable string. The returned pointer must not be de-allocated by the caller.

🚨 bestie listen UP β€” that pointer is not yours. do not free() it, do not delete it, do not let it anywhere near your cleanup code. it's borrowed, it's not a gift, it's a library sleepover where the plushie goes home with its owner. it's giving "look but don't touch" energy fr fr 😭

🧚 Author 🧚

Generated automatically by Doxygen for wget2 from the source code.

not me being written by a robot πŸ’€ she's an auto-generated queen and we love her anyway πŸ’–

and that's the whole page, bestie!! short king behavior, we stan 🌸

wget2 β€” Version 2.3.0 β€” and that lil footer tag libwget-error(3) at the bottom? iconic. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from