aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-18 23:46:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-19 22:31:04 +0200
commite83816bfcf759adb4a7102ea3616fe2a3793cec6 (patch)
treecc761fe087056838e7fb2824ad78914ec539a200 /docs/libcurl
parentb57853450802dd3d9a7bce9fb75dc644e912fdad (diff)
typo: close is in man page section 3
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_easy_setopt.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 2ba37f353..0fa6999e0 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -310,7 +310,7 @@ argument in the opensocket callback set with \fICURLOPT_OPENSOCKETFUNCTION\fP.
.IP CURLOPT_CLOSESOCKETFUNCTION
Function pointer that should match the \fIcurl_closesocket_callback\fP
prototype found in \fI<curl/curl.h>\fP. This function gets called by libcurl
-instead of the \fIclose(2)\fP or \fIclosesocket(2)\fP call when sockets are
+instead of the \fIclose(3)\fP or \fIclosesocket(3)\fP call when sockets are
closed (not for any other file descriptors). This is pretty much the reverse
to the \fICURLOPT_OPENSOCKETFUNCTION\fP option. \fIReturn 0 to signal success
and 1 if there was an error. (Option added in 7.21.7)