Macrofy remaining stdin/stdout functions