in reply to Re^3: Redirecting XS stdout
in thread Redirecting XS stdout

Maybe it does

fakesdio.h

It is part of the base perl source code. See also perlsdio.h.