about summary refs log tree commit diff
path: root/src/stdio/getc_unlocked.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-15 12:04:13 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-15 12:04:13 -0400
commit69cf09c821b94668f03c942585d99c13121731c8 (patch)
tree94021bedc39393fece76cce79a84b34d0d35ecf8 /src/stdio/getc_unlocked.c
parent088ae5995a75ab06882322fd3ef39f12df06bbbc (diff)
downloadmusl-69cf09c821b94668f03c942585d99c13121731c8.tar.gz
musl-69cf09c821b94668f03c942585d99c13121731c8.tar.xz
musl-69cf09c821b94668f03c942585d99c13121731c8.zip
avoid setting errno when checking for tty
setting errno here is completely valid, but some programs, notably
busybox printf, assume that errno will not be set during output and
treat this as an error condition. in any case, skipping it slightly
reduces code size and saves time.
Diffstat (limited to 'src/stdio/getc_unlocked.c')
0 files changed, 0 insertions, 0 deletions