summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.35
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3 b/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
index 80e9dd417..aa303c8f9 100644
--- a/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
@@ -24,11 +24,14 @@
.SH NAME
CURLOPT_CLOSESOCKETFUNCTION \- callback to socket close replacement
.SH SYNOPSIS
+.nf
#include <curl/curl.h>
int closesocket_callback(void *clientp, curl_socket_t item);
-CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CLOSESOCKETFUNCTION, closesocket_callback);
+CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CLOSESOCKETFUNCTION,
+ closesocket_callback);
+.fi
.SH DESCRIPTION
Pass a pointer to your callback function, which should match the prototype
shown above.