[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Redirecting stdio using Fforce/Fdup
I'm working on a small application that needs to run a .ttp as a child and do some screen scraping on it. Basically I'm building a GEM frontend to an old .TOS-program with a character based UI.
As I need to run this program under both MiNT and MagiC I can't use pty's, so I assume I must use Fforce/Fdup. The problem is that I don't understand how these calls work, and I'm having trouble finding good documentation and programming examples. Can anyone suggest some readable sources that use these calls, or perhaps explain to me how to use them? It would be extremely helpful :-)