This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Getting stdin, stdout
- Subject: Getting stdin, stdout
- From: "Russ.Shaw" <russell at webaxs dot net>
- Date: Sat, 02 Sep 2000 09:17:55 +1000
- CC: newlib at sources dot redhat dot com
- References: <200008311859.NAA26108@smtp.sunflower.com>
Hi all,
I'm using a hitachi H8/3048F micro in a wire-wrap system,
and want to use scanf and printf, which requires stdin and
stdout. I wan't to use a serial port for stdin/out.
There are io functions and macros in stdio.h, but its not
obvious how i should modify or overide them in my own
program. Anyone know how?
TIA
BTW, i'm using gcc-2.95.2, newlib-1.8.2, etc on a pc
with gnu/linux.
--
*******************************************
* Russell Shaw, B.Eng, M.Eng(Research) *
* email: russell@webaxs.net *
* Victoria, Australia *
*******************************************