1curl_version(3)                 libcurl Manual                 curl_version(3)
2
3
4

NAME

6       curl_version - returns the libcurl version string
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       char *curl_version();
12

DESCRIPTION

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

EXAMPLE

20       printf("libcurl version %s\n", curl_version());
21
22

AVAILABILITY

24       Always
25

RETURN VALUE

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

SEE ALSO

31       curl_version_info(3)
32
33
34
35libcurl 7.85.0                   May 17, 2022                  curl_version(3)
Impressum