++ You know what, that's just the key I needed!
I'm trying to wrap some C with as little modification as possible (staying current with the upstream). I didn't want to replace any IO calls directly, but after *seeing* your PerlIO call it dawned on me to simply override the stdio calls with PerlIO.
Thanks!#define fprintf(fh,...) PerlIO_printf(fh,__VA_ARGS__); #define stdout PerlIO_stdout() #define stderr PerlIO_stderr()
In reply to Re^2: Redirecting XS stdout
by innominate
in thread Redirecting XS stdout
by innominate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |