1curl_version(3) libcurl Manual curl_version(3)
2
3
4
6 curl_version - returns the libcurl version string
7
9 #include <curl/curl.h>
10
11 char *curl_version();
12
14 Returns a human readable string with the version number of libcurl and
15 some of its important components (like OpenSSL version).
16
17 We recommend using curl_version_info(3) instead!
18
20 printf("libcurl version %s\n", curl_version());
21
22
24 Always
25
27 A pointer to a null-terminated string. The string resides in a statiā
28 cally allocated buffer and must not be freed by the caller.
29
31 curl_version_info(3)
32
33
34
35libcurl 7.85.0 May 17, 2022 curl_version(3)