You might want to try setenv(). Just type 'man 3 setenv' in a Linux shell to get the man-page for that function (which is in stdlib).
Sander -----Original Message----- From: davinci-linux-open-source-bounces+shuijsen=optelecom-nkf....@linux.davin cidsp.com [mailto:davinci-linux-open-source-bounces+shuijsen=optelecom-nkf....@lin ux.davincidsp.com] On Behalf Of Van Vliet Sent: Wednesday, December 17, 2008 4:57 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: A way to export from c an environment var Hi, Is there a way to create and export from c an environment variable a bash script can be aware of? I intend something like PATH, etc. Thanks and Regards, VanVliet Dr. Caroline Van Vliet Adfl Group Advanced DSP Flexible Language Group Via Greto di Cornigliano 6R 16152 - Genova, Italy Tel. +39 010 8609370 - Fax +39 010 8609381 _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -------------------------------------------------------- CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify Sander Huijsen by telephone or shuij...@optelecom-nkf.com and delete the original transmission and its attachments without reading or saving in any manner. _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source