in reply to Re: Perl56.dll and STDOUT
in thread Perl56.dll and STDOUT
This gives me my own stdout buffer with which I can have my way! BTW this is not a console app, so there is no stdout, hence the use of PerlIO_stdout(). (thanks to podmaster and tye for that pointer...) So now I'll have one window for code, one for stdout, and one for stderr---or whatever! Joy!stream = freopen("data.txt","w+",PerlIO_stdout()); ASSERT(stream); setbuf(stream,mybuffer); memset(mybuffer,0,BUFSIZ);
--hsm
"Never try to teach a pig to sing...it wastes your time and it annoys the pig."
|
|---|