04-03-2013
Please somebody help me !!!!!
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file that contains some variables that I may want to share throughout multiple scripts.
I think there's an #include command in UNIX.
How do I use it (in korn)? (1 Reply)
Discussion started by: yongho
1 Replies
2. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
3. Linux
I have some static library(libxxx.a libyyy.a).
And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a
I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you.
example:
I have zzz.c.
I do ... (4 Replies)
Discussion started by: freemagic
4 Replies
4. Programming
i have three files
a.h t.c and p.c
a.h has 3 functions only and does not include anything
p.c has one function i made called go
t.c has a main function and calls the go function, it includes a.h only
i run the program using
gcc -Wall -g -o t p.c t.c
but i get a warning, implicet... (2 Replies)
Discussion started by: omega666
2 Replies
5. Programming
I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies
6. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
7. AIX
I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message.
add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies
8. Programming
Hi All,
My application main engine will use a shared library where we do many operation. We are trying to implement the linear algebra operation on the shared library for that I need to link my shared library to the lapack library in /usr/lib.
Below is my make file. Can you please let me... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
LEARN ABOUT PHP
curl_share_close
CURL_SHARE_CLOSE(3) 1 CURL_SHARE_CLOSE(3)
curl_share_close - Close a cURL share handle
SYNOPSIS
void curl_share_close (resource $sh)
DESCRIPTION
Closes a cURL share handle and frees all resources.
PARAMETERS
o $sh
- A cURL share handle returned by curl_share_init(3)
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
curl_share_setopt(3) example
This example will create a cURL share handle, add two cURL handles to it, and then run them with cookie data sharing.
<?php
// Create cURL share handle and set it to share cookie data
$sh = curl_share_init();
curl_share_setopt($sh, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE);
// Initialize the first cURL handle and assign the share handle to it
$ch1 = curl_init("http://example.com/");
curl_setopt($ch1, CURLOPT_SHARE, $sh);
// Execute the first cURL handle
curl_exec($ch1);
// Initialize the second cURL handle and assign the share handle to it
$ch2 = curl_init("http://php.net/");
curl_setopt($ch2, CURLOPT_SHARE, $sh);
// Execute the second cURL handle
// all cookies from $ch1 handle are shared with $ch2 handle
curl_exec($ch2);
// Close the cURL share handle
curl_share_close($sh);
// Close the cURL handles
curl_close($ch1);
curl_close($ch2);
?>
SEE ALSO
curl_share_init(3).
PHP Documentation Group CURL_SHARE_CLOSE(3)