use parent's stdios