diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2025-06-11 18:35:33 -0700 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-06-17 09:11:38 -0300 |
commit | c4929eecf7104f266f546ec742ca38ceee0e99c5 (patch) | |
tree | 8146dcc60b34449c7d95a4ca7b9c35c2b6e3d1ba /sysdeps/unix/sysv/linux/alpha/bits | |
parent | edf7328db204f243c1bfde90edb11f99c7a13e14 (diff) | |
download | glibc-c4929eecf7104f266f546ec742ca38ceee0e99c5.zip glibc-c4929eecf7104f266f546ec742ca38ceee0e99c5.tar.gz glibc-c4929eecf7104f266f546ec742ca38ceee0e99c5.tar.bz2 |
io: replace local_isatty() with a proper function __isatty_nostatus()
Replace local_isatty() inlined in libio with a proper function
__isatty_nostatus(). This allows simpler system-specific
implementations that don't need to touch errno at all.
Note: I left the prototype in include/unistd.h (the internal header
file.) It didn't much make sense to me to put it in a different header
(not-cancel.h), but perhaps someone can elucidate the need.
Add such an implementation for Linux, with a generic fallback.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits')
0 files changed, 0 insertions, 0 deletions