On Tue, 19 Feb 2013, Ajay Tanpure wrote:

I have used the ubuntu 12.04 LTS.

Which libcurl version is that?

I have created the new child process using fork() system call.
I get data from parent process to child using pipe.
But curl_global_init() function didn't work because of which other curl
functions like curl_setopt(), curl_init() didn't work.

Those two latter ones are not libcurl functions, they look like PHP functions.

What do you mean with they "didn't work" ? What exactly happens?

global_init function is called in child process (i.e pid == 0).
Can anyone tell me how to make curl function work in child process.

Can you please show us an example program that shows your problem?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to