summaryrefslogtreecommitdiff
path: root/src/stdio/__fdopen.c
AgeCommit message (Collapse)AuthorLines
2011-04-17debloat: use __syscall instead of syscall where possibleRich Felker-2/+2
don't waste time (and significant code size due to function call overhead!) setting errno when the result of a syscall does not matter or when it can't fail.
2011-04-15avoid setting errno when checking for ttyRich Felker-1/+1
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.
2011-03-20global cleanup to use the new syscall interfaceRich Felker-3/+3
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+52