Check out perlapio ... you shouldn't be using stdio for printing but perl's IO abstraction interface:
use warnings; use Inline C => <<'EOC'; void foo() { PerlIO_printf(PerlIO_stdout(),"HELLO"); } EOC for(1..3) { foo(); print "\n"; }
In reply to Re: [OT]: Flushing XS buffers portably
by derby
in thread [OT]: Flushing XS buffers portably
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |