Hi all,
I have some code that I build for two targets, one an Atmel uC and the other FreeBSD.
What is the best way to redefine getchar and putchar (in uC they use the serial port, in FreeBSD stdin stdout)
Or would I be better #ifdef the commands and making getchar only used in uC and my serial port handler in FreeBSD ??
Thanks for the help
Regards,
Kat.
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"