This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: Help needed : Problem with printf


Hi,

>>   printf("hello world");
>> 
>> it doesn't print anything in the output.
>
>standard output is usually line buffered which means that output is
>buffered until you print a newline.
>

If you want to send the buffer to the output device, you may use
the sentence:

fflush(stdout);

Regards,
José Miguel

José Miguel Robles Román
Indra, S.A,
mailto:jmrroman@indra.es
San Fernando de Henares
Madrid, 28760 Spain


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