Use integers as file descriptors to check if is in an interactive terminal