Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!uw-beaver!uw-june!fred.cs.washington.edu!ojpotter From: ojpotter@fred.cs.washington.edu Newsgroups: comp.lang.c Subject: Child processes (last time) Message-ID: <12483@june.cs.washington.edu> Date: 6 Jul 90 20:47:36 GMT Sender: news@cs.washington.edu Reply-To: ojpotter@fred.cs.washington.edu () Distribution: na Organization: Ugrad-Instr CS Dept., UW, Seattle Lines: 19 This is the last time I will post this, sorry about all the clutter. I'm just posting this because some of you said that if I had given more details it would have been easier to solve my problem. Well, here it goes. I wrote a small executable that takes the IEEE-488 address of a Fluke Digital voltmeter and an integer to specify the function I want to perform (i.e. set AC volts, get a reading, etc.). The main() is declared as a float function because I want it to return the displayed AC volt reading when I trigger it. Unfortunately system() only returns an integer, and exec() makes me overlay my program as well as only returning an integer. Is there any way to get either of these to return the float that my executable produces? Or can't you declare main() as a float? I'm sorry about the confusion and inconvienence. Thanks again for all the helpful info. If you have any more please email it to me. Thanks again. Jay Potter ojpotter@fred.cs.washington.edu P.S. This *has* to be DOS compatible Unix (unfortunately) is optional