Re: Nested "fglgo"
Posted in 1996
In article <51hg12$d5b@ns.mad.servicom.es>, Evelio Martinez <evelio.ml@vlc.servicom.es> writes > >Hello everyone ! >Is there any charitable soul that have an anwser for these 2 questions ? > >1) I am using an old version of INFORMIX-RDS 4... under SCO UNIX 3.2.5. The > size of .4gi is getting very big. I would like to know if there is a way to > avoid the "clear screen" that happen when you calla program from another > one, like: > > main > ... > run "fglgo ..." > ... > end main > Write your own function which does a fork() and exec(). >2) A parent process can communicate with its child through parameters. How can > communicate the child with its parent ? > One option could be through a file but it would be slow. > A second one would be to include the share memory functions (shmget, etc) > in the runtime. Do you think it's worth trying > >Thanks in advance UNIX pipes - see the pipe system call - it allow two way communication. Also see fnctl to set the pipes to non-blocking. Also message queues are a possibility - see msgget() etc. -- David Williams