gnurl_version(3)
π 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 π
curl_version_info(3)β the one they recommend instead, iykyk π
π signed, sealed, delivered by libcurl 7.0, dated 5 March 2001 β no cap, that's the whole vibe π«Άβ¨
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms