This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

serial is working


Ok, I've got serial I/O basically working.

Question if I want to replace stdin/stdout must I open /dev/tty1 twice? as in

        stdin = fopen("/dev/tty1", "r");
	stdout = fopen("/dev/tty1", "w");

Seems like if I open it "rw" I can read from it but when I try writing to it nothing comes out...

--Chuck


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]