From 58f1cc0b5ff8fdf533f26898a778a747d37d8e8a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 27 Apr 2004 07:05:40 +0000 Subject: added curl_*_strerror --- docs/libcurl/libcurl-errors.3 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'docs/libcurl/libcurl-errors.3') diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index 037ef7c1f..e0699645f 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" $Id$ .\" -.TH libcurl-errors 3 "8 Mar 2004" "libcurl 7.11.0" "libcurl errors" +.TH libcurl-errors 3 "27 Apr 2004" "libcurl 7.12" "libcurl errors" .SH NAME libcurl-errors \- error codes in libcurl .SH DESCRIPTION @@ -10,9 +10,11 @@ This man page includes most, if not all, available error codes in libcurl. Why they occur and possibly what you can do to fix the problem. .SH "CURLcode" Almost all "easy" interface functions return a CURLcode error code. No matter -what, using \fICURLOPT_ERRORBUFFER\fP is a good idea as it will give you a -human readable error string that may offer more details about the error cause -than just the error code does. +what, using the \fIcurl_easy_setopt(3)\fP option \fICURLOPT_ERRORBUFFER\fP is +a good idea as it will give you a human readable error string that may offer +more details about the error cause than just the error code +does. \fIcurl_easy_strerror(3)\fP can be called to get an error string from a +given CURLcode number. CURLcode is one of the following: .IP "CURLE_OK (0)" @@ -186,7 +188,8 @@ Maximum file size exceeded Requested FTP SSL level failed .SH "CURLMcode" This is the generic return code used by functions in the libcurl multi -interface. +interface. Also consider \fIcurl_multi_strerror(3)\fI. + .IP "CURLM_CALL_MULTI_PERFORM (-1)" This is not really an error. It means you should call \fIcurl_multi_perform(3)\fP again without doing select() or similar in between. @@ -201,8 +204,8 @@ You are doomed. .IP "CURLM_INTERNAL_ERROR (4)" This can only be returned if libcurl bugs. Please report it to us! .SH "CURLSHcode" -The "share" interface will return a CURLSHcode to indicate when an -error has occurred. +The "share" interface will return a CURLSHcode to indicate when an error has +occurred. Also consider \fIcurl_share_strerror(3)\fI. CURLSHcode is one of the following: .IP "CURLSHE_OK (0)" -- cgit v1.2.3