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]

Re: Problem with printf


Sidharth,

have a look at the documentation (man pages on any linux installation will be easy enough) of setbuf, setvbuf family of functions, these are present in eCos too.you can try
{
setbuf (stdout, NULL);
printf ("Hello World\n");
printf ("Hello fflush");
}


if above also doesn't work, then you need to investigate things deeper down, tracing the second printf call

I wonder why fflush(stdout) is not doing the job.

--
regards
sandeep


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