lua-users home
lua-l archive

Re: Redirecting stdout and stderr

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


print() uses stdio directly (it calls fputs).
If you want to direct it elsewhere than stdout, you need to redefine
it globally, or use freopen() from C to make stdout go elsewhere.
Sam

AltStyle によって変換されたページ (->オリジナル) /