summaryrefslogtreecommitdiff
path: root/src/stdio/fclose.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-02-24 11:19:54 -0500
committerRich Felker <dalias@aerifal.cx>2018-02-24 11:19:54 -0500
commite7eeeb9f2a4a358fb0bbed81e145ef5538ff60f0 (patch)
tree0632ca84dcfa25c74f610e74d3241d91291eea88 /src/stdio/fclose.c
parentf92804188eb464536d638548e51e835b6c49e373 (diff)
downloadmusl-e7eeeb9f2a4a358fb0bbed81e145ef5538ff60f0.tar.gz
avoid use of readv syscall in __stdio_read backend when not needed
formally, calling readv with a zero-length first iov component should behave identically to calling read on just the second component, but presence of a zero-length iov component has triggered bugs in some kernels and performs significantly worse than a simple read on some file types.
Diffstat (limited to 'src/stdio/fclose.c')
0 files changed, 0 insertions, 0 deletions