| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Problems with curl_easy_geting() and linking with libcurl 7.10.3
From: Isbell, Michael <Michael_Isbell_at_bmc.com>
Date: Fri, 28 Mar 2003 18:43:59 -0600
When using curl 7.8.1, it seems that curl_easy_geting() is not working. It
I then updated my curl libs etc to:
And I get a ld error:
cc curl_test.c -I/opt/include -L/opt/lib -lcurl -lz -ldl -lsocket -lnsl -lz
Compiler
8<---------------------------code--------------------------------------
#include <stdio.h>
/*int createIdleClients()*/
tot_time = malloc(sizeof(double));
curl = curl_easy_init();
curl_easy_setopt(curl,CURLOPT_URL,"yahoo.bmc.com");
res = curl_easy_getinfo(curl,CURLINFO_TOTAL_TIME,tot_time);
printf("TOTAL TIME: %lf\n",tot_time);
curl_easy_cleanup(curl);
return 0;
8<-----------------------------output-----------------------------------
-------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info