in reply to Porting a system 5 streams app to linux
I'm a bit confused by what you are asking here....
So you have a C app which forks and the forked process runs an arpitrary system/backtick app? Does the logging happen in the forked process or the parent process? (I assume the forked process here).
The last thing is, being unfamiliar with sysV streams, what sort of information is it passing back that you need to get?... Just the process name it wants to run or something more? Wouldn't the parent have to know that before forking?
I may have misunderstood much of what you have said and if so I will revise this post as needed.