add stdio linux method