Getting stdin, stdout

Fri Sep 1 16:15:00 GMT 2000

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?

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:          *
*      Victoria, Australia                *

More information about the Newlib mailing list