This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
sdtin/stdout/stderr redirection
- From: Philippe Vandermersch <phil at equator dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 31 Mar 2003 09:34:19 -0800
- Subject: [ECOS] sdtin/stdout/stderr redirection
- Organization: Equator Technologies
Hi,
I have created a filesystem over PCI which actually allows the Hosted
PCI board running eCos to access the Filesystem of the Host (running Linux).
Now I would like to know if it is possible to redirect dynamically eCos
sdtin/stdout/stderr to some other fd than the usual 0,1,2.
My idea is to open the Linux stdin,sdtout,stderr and to affect the fd
obtained through my filesystem to the eCos ones.
Philippe
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss