This is almost certainly related to the problem I encountered at Inline C: using stderr segfaults?. See the subthread starting at Re: Inline C: using stderr segfaults? that discovers that stderr is redefined to a complex macro expansion. stdout probably sufferes the same fate.
The most expedient and reliable solution I found was to use &_iob[2] for stderr and &_iob[1] for stdout when calling stdio routines from Inline C.
In reply to Re^5: Really, really suffering from buffering
by BrowserUk
in thread Really, really suffering from buffering
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |