1 If the file descriptor is associated with a terminal. 0 Indicates an error (for example, if the file descriptor is not associated with an open file) and errno is set to indicate the error.