This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Change output stream for printf


Hi,
I would like to change the ouput stream for printf. For now, my printf
function puts characters over serial channel (with tty-mode serial device
driver on hardware serial device driver).
I would like printf puts characters over a socket for example.
How can I change the behaviour of printf?
I know that I can use diag_init_putc() to do that for diag_printf, but for
printf?
Thank's in advance.

Nicolas Brouard


-- 
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]