Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

curl_version (3)

Name

curl_version - returns the libcurl version string

Synopsis

#include <curl/curl.h>

char *curl_version( );

Description

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!

RETURN VALUE
       A pointer to a zero 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
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was    downloaded    from    https://github.com/curl/curl/ar-
       chive/curl-7_64_0.zip

       Further information about this software can be found on the open source
       community website at http://curl.haxx.se/.



libcurl 7.0                      5 March 2001                  curl_version(3)