gnurl_version(3)

πŸ“¦ version 7.72.0, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Bestie, welcome to gnurl_version(3) from the libgnurl manual πŸ’… the function we're hyping is:

  • curl_version β€” returns the libcurl version string ✨

🌸 SYNOPSIS 🌸

#include <gnurl/curl.h>

char *curl_version( );

πŸ’– DESCRIPTION πŸ’–

Okay so curl_version() hands you back a human-readable string that's got the version number of libcurl in it, plus some of its important components (like OpenSSL version). It's giving "receipts for your libcurl era" 🧾✨

But bestie, the docs are literally recommending the glow-up: use curl_version_info(3) instead! πŸ™ˆπŸ’œ


πŸ¦‹ RETURN VALUE πŸ¦‹

You get a pointer to a null-terminated string πŸŽ€

That string lives in a statically allocated buffer, and must not be freed by the caller. So do not free it, periodt πŸ’€βœ‹


🌈 SEE ALSO 🌈


πŸ’– signed, sealed, delivered by libcurl 7.0, dated 5 March 2001 β€” no cap, that's the whole vibe 🫢✨

πŸ“¦ where this page comes from