perprintf — enable automatic stream flushing
noperprintf - reset (disable) automatic stream flushing
#include <stdio.h>
To flush the output immediately after executing a printf(), use perprintf(). This command sets the file stream to automatically flush the output after every write request on the selected stream.
To stop automatic output flushes, use noperprintf().
None
No errors are defined.
void Init_function ()
{
//stdout init
perprintf(stdout_init("/dev/ttyS1"));
//stdin init
stdin_init ("/dev/ttyS1");
}
printf(), stdin_init(), stdout_init()