guard stdio