libcurl-logo

libcurl Curl_Easy_Strerror – Return String Describing Error Code

libcurl-Curl-Easy-Strerror-Return-String-Describing-Error-Code-product-image

Specifications

  • Name: curl_easy_strerror
  • Version: libcurl 7.12.0
  • Release Date: 26 Apr 2004

NAME

curl_easy_strerror – return string describing error code

SYNOPSIS

#include <curl/curl.h>
const char *curl_easy_strerror(CURLcode errornum);

DESCRIPTION

The curl_easy_strerror() function returns a string describing the CURLcode error code passed in the argument errornum.
This function was added in libcurl 7.12.0

RETURN VALUE

A pointer to a zero terminated string.

SEE ALSO

libcurl-errors(3), curl_multi_strerror(3), curl_share_strerror(3)

FAQ

What is the purpose of curl_easy_strerror function?

The purpose of this function is to provide a human-readable description of the error code encountered during libcurl operation.

Is there a specific version requirement for using curl_easy_strerror?

Yes, this function was added in libcurl version 7.12.0, so make sure you are using a version equal to or higher than that.

Documents / Resources

libcurl Curl_Easy_Strerror - Return String Describing Error Code [pdf] Instructions
Curl_Easy_Strerror - Return String Describing Error Code, Return String Describing Error Code, String Describing Error Code

References

Leave a comment

Your email address will not be published. Required fields are marked *