commit | 8925a551fc3d0216433c7609a1f272f877619b6b | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:36:47 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:38:42 2012 -0700 |
tree | 9e046f0bc3b349c6a491ba66d4883cec2ae475a4 | |
parent | 0ba9a8316ad201053e32dbdbbd68da5edfe5230d [diff] |
[klibc] isatty: allow errno to be set The specification for isatty() *does* specify that errno is set if the file descriptor is not a terminal. Since we also have to propagate errors on real errors (e.g. EBADF) this makes the implementation really simple... Signed-off-by: H. Peter Anvin <hpa@zytor.com>