curl_easy_init.3 843 B

1234567891011121314151617181920212223242526
  1. .\" You can view this file with:
  2. .\" nroff -man [file]
  3. .\" $Id: curl_easy_init.3,v 1.4 2004/02/27 15:34:06 bagder Exp $
  4. .\"
  5. .TH curl_easy_init 3 "4 March 2002" "libcurl 7.8.1" "libcurl Manual"
  6. .SH NAME
  7. curl_easy_init - Start a libcurl easy session
  8. .SH SYNOPSIS
  9. .B #include <curl/curl.h>
  10. .BI "CURL *curl_easy_init( );"
  11. .SH DESCRIPTION
  12. This function must be the first function to call, and it returns a CURL easy
  13. handle that you must use as input to other easy-functions. curl_easy_init
  14. intializes curl and this call \fBMUST\fP have a corresponding call to
  15. \fIcurl_easy_cleanup(3)\fP when the operation is complete.
  16. .SH RETURN VALUE
  17. If this function returns NULL, something went wrong and you cannot use the
  18. other curl functions.
  19. .SH "SEE ALSO"
  20. .BR curl_easy_cleanup "(3), " curl_global_init "(3)
  21. .SH BUGS
  22. Surely there are some, you tell me!