curl_version - returns the libcurl version string
#include <curl/curl.h> char *curl_version();
curl_version(3) libcurl Manual curl_version(3)
NAME
curl_version - returns the libcurl version string
SYNOPSIS
#include <curl/curl.h>
char *curl_version();
DESCRIPTION
Returns a human readable string with the version number of libcurl and
some of its important components (like OpenSSL version).
We recommend using curl_version_info(3) instead!
EXAMPLE
printf("libcurl version %s\n", curl_version());
AVAILABILITY
Always
RETURN VALUE
A pointer to a null-terminated string. The string resides in a stati-
cally allocated buffer and must not be freed by the caller.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------+
|Availability | web/curl |
+---------------+------------------+
|Stability | Uncommitted |
+---------------+------------------+
SEE ALSO
curl_version_info(3)
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://curl.se/down-
load/curl-7.83.1.tar.bz2.
Further information about this software can be found on the open source
community website at http://curl.haxx.se/.
libcurl 7.83.1 November 26, 2021 curl_version(3)