C language/Cshell

From: Rachid BOUKHARI (rachid.boukhari@st.com)
Date: Fri Jul 16 2004 - 11:57:51 EDT


Hi,

I would like to make one argument of a C language program known by a
system command inside the C program, How can I do it

Here is a scheme of what I want :

gcc -o hello hello.c

hello argv

I would like to make argv also an argument of cshell command invoked
inside hello.c

Regards,

-- 
****************************************
* Rachid BOUKHARI                      *
* Unix/Linux System Administrator      *
* STMicroelectronics-Rabat             *
*                                      *
* BP 765 Av IbnSina Agdal Rabat-Morocco*
* Phone: +212 22 93 63 29              *
* Fax: +212 22 93 63 34                *
****************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:06 EDT