![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling a C-function froma Perl script | jisha | Shell Programming and Scripting | 9 | 05-08-2008 01:59 AM |
| calling one function from another shell script | trichyselva | UNIX for Dummies Questions & Answers | 1 | 01-17-2008 12:28 AM |
| Help needed in function calling in a script | jisha | Shell Programming and Scripting | 3 | 01-15-2008 07:48 AM |
| calling c++ function from script | Lebamb | High Level Programming | 3 | 06-24-2003 10:53 AM |
| calling a c function from shell | seshagiri | UNIX for Dummies Questions & Answers | 4 | 12-06-2000 09:51 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I have searched the forum for the query, But i didnt find an exact answer. I have a script(1.sh) and a c program(sample.c) sample.c contains many function definitions.( run(), find(), add() etc). I want to call functions in sample.c from 1.sh and use the return value in 1.sh ******************** 1.sh echo "this is sample" ..... ..... find("nomber") .... .... ********************* sample.c main() { find() { .... ..... } add() { .... .... } } Thanks in advance Js Last edited by jisha; 01-28-2008 at 04:59 AM.. Reason: I found the answer |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|