E
EdA
Guest
Hi,
What's the right way to get unbuffered I/O using vpi_printf?
I'm using Solaris and Linux and NC-Verilog.
I tried: setbuf(stdout, (char *) 0);
but got a seg fault after a while.
Is setvbuf the way to go?
Thanks,
/Ed
What's the right way to get unbuffered I/O using vpi_printf?
I'm using Solaris and Linux and NC-Verilog.
I tried: setbuf(stdout, (char *) 0);
but got a seg fault after a while.
Is setvbuf the way to go?
Thanks,
/Ed